Ok, the following certificates match:
/opt/bitnami/apache2/conf/speedwaygroceries.crt
/opt/bitnami/apache2/conf/speedwaygroceries.key
So you should be able to start Apache if you set them up in your /opt/bitnami/apache2/conf/bitnami/bitnami.conf
file (which you already have):
SSLCertificateFile "/opt/bitnami/apache2/conf/speedwaygroceries.crt"
SSLCertificateKeyFile "/opt/bitnami/apache2/conf/speedwaygroceries.key"
SSLCACertificateFile "/opt/bitnami/apache2/conf/speedwaygroceries-ca.crt"
Just to be sure, this current configuration works, right?
Let's continue. Are those your old certificates or your new certificates? If those are your old certificates, you now need to get your new ones and find the matching key-certificate pair. Use the commands from above to find the matching pair:
sudo openssl x509 -in YOUR-CERTIFICATE -pubkey -noout -outform pem | sha256sum
sudo openssl pkey -in YOUR-KEY -pubout -outform pem | sha256sum
Replace YOUR-CERTIFICATE
and YOUR-KEY
with the corresponding files. You need to get the same output on the certificate and key for them to be valid.
Let me know how it goes.
Regards,
Alejandro