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.
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: