Grebelsky, Konstantin wrote:
> 
> As previous message stated I created DSA certificate and priv.key file.
> Trying to run s_server with the certificate as follows and get into trouble
> below? Sorry, about previous message the file was possibly in a different
> directory.
> 
> D:\openssl-0.9.5\out32dll>openssl
> OpenSSL> s_server -cert ./NosAdminUnixCert.pem
> Loading 'screen' into random state - done
> Using default temp DH parameters
> unable to get certificate from './NosAdminUnixCert.pem'
> 1196:error:0906D06C:PEM routines:PEM_read_bio:no start
> line:.\crypto\pem\pem_lib.c:662:Expecting: DH PARAMETERS
> 1196:error:0D084069:asn1 encoding routines:d2i_ASN1_SET:bad
> tag:.\crypto\asn1\a_set.c:177:
> 1196:error:0D0A7004:asn1 encoding routines:d2i_X509_NAME:nested asn1
> error:.\crypto\asn1\x_name.c:197:address=8924944 offset=2
> 1196:error:0D0A2004:asn1 encoding routines:d2i_X509_CINF:nested asn1
> error:.\crypto\asn1\x_cinf.c:126:address=8924764 offset=180
> 1196:error:0D09F004:asn1 encoding routines:d2i_X509:nested asn1
> error:.\crypto\asn1\x_x509.c:102:address=8924760 offset=4
> 1196:error:0906700D:PEM routines:PEM_ASN1_read_bio:ASN1
> lib:.\crypto\pem\pem_lib.c:290:
> 1196:error:140AD009:SSL routines:SSL_CTX_use_certificate_file:missing asn1
> eos:.\ssl\ssl_rsa.c:534:error in s_server
> OpenSSL>

What does this file NosAdminUnixCert.pem look like? That error suggests
the certificate is corrupted somehow.

Steve.
-- 
Dr Stephen N. Henson.   http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED] 
Senior crypto engineer, Celo Communications: http://www.celocom.com/
Core developer of the   OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to