Missing Intermediate Certificate for installing on lighttpd Server

I generated Origin Certificates in my Crypto Panel an copied it to my Server.
After that I followed the instructions on https://www.digicert.com/ssl-certificate-installation-lighttpd.htm

This would cause an error:
(network.c.543) SSL: couldn’t read X509 certificate from ‘/etc/lighttpd/mydomain.pem’

The error seems to happen, because I have no “intermediate” Certificate.
But where I can get the intermediate Cert (“DigiCertCA.crt”)? I do not have an DigiCert Customer Account to obtain.

THX in advance!


I tried this by appending in the *.pem file => not working.

Do I have to provide it in a another file? Both Certs or only one?

ok, the error was a missing “-” at the enf of the certificate block:

it was: -----END CERTIFICATE---- (4 dashes at the end)
instead of -----END CERTIFICATE----- (5 dashes at the end)

found it by command:
“openssl x509 -in server.pem”
resulted in:
unable to load certificate
140608782071440:error:0906D066:PEM routines:PEM_read_bio:bad end line:pem_lib.c:804:

This topic was automatically closed after 30 days. New replies are no longer allowed.