We're having trouble installing our wildcard SSL certificate into Bitnami Owncloud on an AWS ec2 server, having followed https://docs.bitnami.com/aws/apps/owncloud/#how-to-enable-https-support-with-ssl-certificates
Owncloud works fine under HTTPS without the certificate, but the pages fail to load (under HTTP or HTTPS) even though the certificate successfully appears in chrome. The three certificates (server.crt, server.key and server-ca.crt) have been supplied by our website hosts and a third party SSL checker site verifies them ok. When apache is restarted, the following appears;
/opt/bitnami/apache2/scripts/ctl.sh : httpd could not be started
The apache2 error_log is as follows;
[Tue Sep 20 11:06:35.000526 2016] [ssl:emerg] [pid 4526:tid 140267323762496] AH02561: Failed to configure certificate localhost:443:0, check /opt/bitnami/apache2/conf/server.crt
[Tue Sep 20 11:06:35.000571 2016] [ssl:emerg] [pid 4526:tid 140267323762496] SSL Library Error: error:0906D06C:PEM routines:PEM_read_bio:no start line (Expecting: CERTIFICATE) -- Bad file contents or format - or even just a forgotten SSLCertificateKeyFile?
[Tue Sep 20 11:06:35.000586 2016] [ssl:emerg] [pid 4526:tid 140267323762496] SSL Library Error: error:140AD009:SSL routines:SSL_CTX_use_certificate_file:PEM lib
AH00016: Configuration Failed
Is anyone able to assist please?