Greetings!
I'm trying to use ssl certs given to me that are valid, but nginx gives errors using them.
nginx: [emerg] PEM_read_bio_X509("/home/davidx/Documents/eldermark.com.pem") failed (SSL: error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error:Type=X509_VAL error:0D08303A:asn1 encoding routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1 error:Field=validity, Type=X509_CINF error:0D08303A:asn1 encoding routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1 error:Field=cert_info, Type=X509 error:0906700D:PEM routines:PEM_ASN1_read_bio:ASN1 lib)
I have tested the .crt with openSSL, and the .crt and .key with another web server, and it works - it appears valid. nginx does not like them.
Please help if you can.
What is the correct order of the change in the .crt?
THanks!