[stunnel-users] Problems implementing certificate

Marcelo Iturbe marcelo.iturbe at gmail.com
Tue Sep 15 20:00:29 CEST 2009


Hello,
I am using Stunnel 4.27 binary version on Windows 2003 server.

In the stunnel.pam file I did the following:
In the -----BEGIN RSA PRIVATE KEY----- section, I placed the same text that
appeared in the  -----BEGIN NEW CERTIFICATE REQUEST----- when I purchased
the certificate

In the -----BEGIN CERTIFICATE----- section I placed what verisign returned
to me.

When I try to load Stunnel I get the following error messages:

: RAND_status claims sufficient entropy for the PRNG
: PRNG seeded successfully
: SSL context initialized for service gmail-pop3s
: Certificate: stunnel.pem
: Error reading certificate file: stunnel.pem
: error stack: 140DC009 : error:140DC009:SSL
routines:SSL_CTX_use_certificate_chain_file:PEM lib
: error stack: 906700D : error:0906700D:PEM routines:PEM_ASN1_read_bio:ASN1
lib
: error stack: D08303A : error:0D08303A:asn1 encoding
routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1 error
: error stack: 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

: Server is down

Any thoughts as to where I went wrong?

Thanks for your help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20090915/7f64d9cb/attachment.html>


More information about the stunnel-users mailing list