This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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=..."; |