logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache 2.0.59 and SSL Problem on Windows
Author
mohenry



Joined: 02 Dec 2006
Posts: 1

PostPosted: Sat 02 Dec '06 9:45    Post subject: Apache 2.0.59 and SSL Problem on Windows Reply with quote

Hi, I am using Apache 2.0.59, MySQL 5.0.27 and PHP 5.1.6 on Windows xp Home for web development. My development environment works fine until I enable SSL. I got the following errors in the log file.

[Sat Dec 02 14:37:30 2006] [error] Unable to import RSA server private key
[Sat Dec 02 14:37:30 2006] [error] SSL Library Error: 218529960 error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
[Sat Dec 02 14:37:30 2006] [error] SSL Library Error: 218595386 error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error
[Sat Dec 02 14:37:30 2006] [error] SSL Library Error: 218734605 error:0D09A00D:asn1 encoding routines:d2i_PrivateKey:ASN1 lib

I followed the guide at http://www.neilstuff.com/apache/apache2-ssl-windows.htm?pf=1 to the configure my apache server.

Could anyone kindly help me to solve this problem?

Thanks in advance.
Back to top
ali_fareed



Joined: 04 Jul 2006
Posts: 61
Location: Bahrain

PostPosted: Sun 03 Dec '06 8:34    Post subject: Reply with quote

The error seems to be caused by your private key maybe its corrupted try testing it by using openssl s_server like this
Code:
openssl s_server -cert cert.pem -key privkey.pem -www
then connect to http://host:4433/
or maybe try
Code:
openssl rsa -in privkey.pem -check
Back to top


Reply to topic   Topic: Apache 2.0.59 and SSL Problem on Windows View previous topic :: View next topic
Post new topic   Forum Index -> Apache