PEM_read_bio_X509 - Installing Cert.

david david at styleflare.com
Tue Jan 28 23:07:12 UTC 2014


I am running into a strange problem.

If I cat domain.crt >> bundle.crt

ssl_certificate bundle.crt;
ssl_certificate_key domain.key;

and I try to start nginx I get the following error message.

nginx: [emerg] PEM_read_bio_X509("bundle.crt") failed (SSL:)

If I dont use the bundle I just use the domain.crt with adding it to the 
bundle

ssl_certificate domain.crt;
ssl_certificate_key domain.key;

nginx starts without trouble.

Curious what I am doing wrong.

Thanks.






More information about the nginx mailing list