[Tue Oct 17 12:51:48.293927 2017] [ssl:emerg] [pid 5038:tid 140354722330432] AH02565: Certificate and private key localhost:443:0 from /opt/bitnami/apache2/conf/sitecert1.crt and /opt/bitnami/apache2/conf/server.key do not match
AH00016: Configuration Failed
In this log entry, you can see that Apache is showing that the .key file doesn't match with the .crt file, that's because you created the .crt file using a different .key file. As @crhernandez mentioned above, we have different sections in our documentation that explains the process to configure Apache, could you please check them?
Another reason why Apache doesn't start is because the SSL certificates don't have the correct permissions. In that case, Apache won't start due to security concerns.
At the end of this section, we explain how to configure the permissions for the certificate that we create during the process. In case you used a different name for the .key or .crt files, you can set the permissions correctly by running the following commands:
sudo chown root:root /opt/bitnami/apache2/conf/theNameOfYourFile
sudo chmod 600 /opt/bitnami/apache2/conf/theNameOfYourFile
In case you continue running into issues, we have a Support Tool that will gather relevant information for us to debug the issue. Could you please download and execute it on the machine where the stack is running? Just type the following to download the tool:
wget -O bnsupport_tool https://downloads.bitnami.com/files/bnsupport/latest/bnsupport-linux-x64.run && \
chmod +x bnsupport_tool && \
You will be prompted to indicate the directory where your stack is installed (which is /opt/bitnami on VMs and Cloud Images by default).
NOTE: The tool will inform you about the information that will be shared with us and you can decide wether to share it or not. Please review it and ask us any doubt you have if you do not agree with sharing some of the information.