Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unable to import RSA server private key

843811Mar 5 2007
Hi all,
I am trying to configure Apache 2.2.4.x with SSL, I have a self signed certificate generated via OpenSSL, and tried to configure it using httpd.conf and httpd-ssl.conf files. All the .crt and .key files path have been given appropriately. But when i try to execute my server using "httpd" it displays the below errors in the logs.

[Mon Mar 05 15:19:20 2007] [error] Unable to import RSA server private key
[Mon Mar 05 15:19:20 2007] [error] SSL Library Error: 218570875 error:0D07207B:asn1 encoding routines:ASN1_get_object:header too long
[Mon Mar 05 15:19:20 2007] [error] SSL Library Error: 218529894 error:0D068066:asn1 encoding routines:ASN1_CHECK_TLEN:bad object header
[Mon Mar 05 15:19:20 2007] [error] SSL Library Error: 218595386 error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error
[Mon Mar 05 15:19:20 2007] [error] SSL Library Error: 218734605 error:0D09A00D:asn1 encoding routines:d2i_PrivateKey:ASN1 lib

I tried to google it, but in vein, so if nebody has ne solution to this problem then let me know

thanx.
kdp1982
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 2 2007
Added on Mar 5 2007
0 comments
533 views