kevinlinxp
12/31/2016 - 7:12 AM

passphrase:auto,remove

passphrase:auto,remove

Solution 1 - Remove the passphrase from the key

  • To see whether the key file is encrypted:
head -3 www.textbookmango.com.key
  • To remove passphrase in key:
$ sudo mv www.textbookmango.com.key www.textbookmango.com.key.old
$ sudo openssl rsa -in www.textbookmango.com.key.old -out www.textbookmango.com.key

Solution 2 - Config passphrase script in .conf file

  • Either of these will work:
SSLPassPhraseDialog |/path/to/passphrase-script
SSLPassPhraseDialog exec:/path/to/passphrase-script
  • You would then create a very simple script called /path/to/passphrase-script that contains something like the following:
#!/bin/sh
echo "put the passphrase here"