When restarting the Aleph Server, Apache SSL fails asking for a passphrase
- Product: Aleph
- Product Version: 22, 23
- Relevant for Installation Type: Multi-Tenant Direct, Dedicated-Direct, Local, TotalCare
Description
When the server is restarted our SSL configuration for the OPAC fails. The SSL certificate is requesting a passphrase.
Resolution
There are two ways to stop apache from asking a passphrase on restart.
1. Create a new certificate file from the existing one, without a passphrase:
openssl rsa -in key.pem -out newkey.pem
2. Create a script that will enter it by adding the following to httpd.conf:
SSLPassPhraseDialog exec:/path/to/passphrase-file
in the passphrase-file please insert:
#!/bin/sh
echo "passphrase"
- Article last edited: 07-08-2017