Dear sir, while i'm working with Openssl, following errors i found. please give me the suggetions for modification if required.
OpenSSL version: 'Openssl 0.9.8g '
OS Name: Windows XP
Version : 2002
Hardware platform: Intel Pentium III processor
Compiler Details (name, version): VC++ version 6.0
-Application Details (name, version): Client/Server Communication.
-Problem Description: When I’m running the server side program for
initialization of all
key files and certificate files, the function
SSL_CTX_use_PrivateKey_file(ctx,keyfile,SSL_FILETYPE_PEM) calling for loading
Private Key File from the disk, But I could not load the Keyfile.
Following errors occur
Couldn't read key file
2084:error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong
tag:.\crypto\asn1\tasn_dec.c:1294:
2084:error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1
error:.\crypto\asn1\tasn_dec.c:380:Type=DSA
2084:error:0D09A00D:asn1 encoding routines:d2i_PrivateKey:ASN1
lib:.\crypto\asn1\d2i_pr.c:109:
2084:error:0907B00D:PEM routines:PEM_READ_BIO_PRIVATEKEY:ASN1
lib:.\crypto\pem\pem_pkey.c:125:
2084:error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM
lib:.\ssl\ssl_rsa.c:669:
- Stack Traceback (if the application dumps core)
Regards
Hari Naik
HARI NAIK JATOTH
Engineer (Design),
HAL, Bangalore.
Mobile NO: 91+9880418948
---------------------------------------------------------------------------------------
Dear sir, while i'm working with Openssl, following errors i found. please give me the suggetions for modification if required. OpenSSL version: 'Openssl 0.9.8g ' OS Name: Windows XP Version : 2002 Hardware platform: Intel Pentium III processor Compiler Details (name, version): VC++ version 6.0 -Application Details (name, version): Client/Server Communication. -Problem Description: When I’m running the server side program for initialization of all key files and certificate files, the function SSL_CTX_use_PrivateKey_file(ctx,keyfile,SSL_FILETYPE_PEM) calling for loading Private Key File from the disk, But I could not load the Keyfile. Following errors occur Couldn't read key file 2084:error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag:.\crypto\asn1\tasn_dec.c:1294: 2084:error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error:.\crypto\asn1\tasn_dec.c:380:Type=DSA 2084:error:0D09A00D:asn1 encoding routines:d2i_PrivateKey:ASN1 lib:.\crypto\asn1\d2i_pr.c:109: 2084:error:0907B00D:PEM routines:PEM_READ_BIO_PRIVATEKEY:ASN1 lib:.\crypto\pem\pem_pkey.c:125: 2084:error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib:.\ssl\ssl_rsa.c:669: - Stack Traceback (if the application dumps core)
Engineer (Design),
HAL, Bangalore.
Mobile NO: 91+9880418948
--------------------------------------------------------------------------------------- |
