Welcome! Log In Create A New Profile

Advanced

company.crt & company.key nginx ssl errors

Posted by dbring 
company.crt & company.key nginx ssl errors
June 24, 2016 11:48AM
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!
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 308
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready