Ok! Your Apache configuration for that application seems to be fine. You have the lines below at
On the first hand, please double-quote the path to SSLCertificateChainFile as it's done for SLCertificateFile and SSLCertificateKeyFile. On the second hand, since your app is new-architecture-site, I would place the certificates and the key files at
/opt/bitnami/apps/new-architecture-site/conf/certs/ and edit the path indicated accordingly.
Taking a deeper look into the Error Log I see the errors below:
AH02312: Fatal error initialising mod_ssl, exiting.
AH02564: Failed to configure encrypted (?) private key localhost:443:0, check /opt/bitnami/apps/myapp/conf/certs/gdpr-light_eu.crt
AH00016: Configuration Failed
AH02579: Init: Private key not found
This means that even the SSLCertificateKeyFile can't be found or it's not a valid Private Key to decipher the SSLCertificateFile. It seems that
/opt/bitnami/apps/myapp/conf/certs/server.key exists... Could you check that it starts with "BEGIN PRIVATE KEY"? Please do not share the content of that file in this blog for security reasons.
Could you also check that the commands below return the same output?
openssl req -noout -modulus -in /opt/bitnami/apps/myapp/conf/certs/server.key
openssl x509 -noout -modulus -in /opt/bitnami/apps/myapp/conf/certs/gdpr-light_eu.crt
Was my answer helpful? Click on