Hi,

I am trying to update my companies Certificate in STunnel and I'm getting the following error messages:

Certificate: pass-web_new.pem
Error reading certificate file: pass-web_new.pem
error queue: 140DC009 : error:140DC009:SSL routines:SSL_CTX_use_certificate_chain_file:PEM lib
error queue: 906700D : error:0906700D:PEM routines:PEM_ASN1_read_bio:ASN1 lib
error queue: D08303A : error:0D08303A:asn1 encoding routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1 error
error queue: D07803A : error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error
SSL_CTX_use_certificate_chain_file: D0680A8: error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag

We are currently using STunnel without issue; but my certificate is due to expire November 15th.  I submitted my request via a CSR file created with OPENSSL.  I've attempted to put the data into the file pointed at in the stunnel.conf file but this error continues to haunt me.  My previous key was 256, but when making this key I created a 1024 key and used that for the CSR file.

I've also added the Intermediate certificate information to the file.   Any information on what could be the problem is greatly appreciated.


Version: 4.34

Thanks,
Ken