Skip to content

Instantly share code, notes, and snippets.

View mathaou's full-sized avatar
🏠
Working from home

Matt Farstad mathaou

🏠
Working from home
  • North Carolina
View GitHub Profile
@stevenroose
stevenroose / enable_ssl.dart
Last active June 4, 2021 06:25
Setup CA-enabled SSL for Dart
void enableSSL() {
// the password used for the certutil db
var sslPassword = "";
// the certificate subject
// retrieved from certutil with command
// > certutil -d sql:. -L -n my_domain
// and look for the "Subject: " line under certificate data
var certificateName = "CN=mydomain.com,OU=...";