You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by BipinDas-BlueLabs <bi...@bltsol.com> on 2008/06/05 11:09:35 UTC

[users@httpd] SSL not working. Please help

Hi everybody

I do have a webserver running on Fedora4 with Apache 2.2.6. I had setup 
an htaccess for the webroot to prevent the outside access. Because
its in a development stage. Its working fine. Now I need to setup a self 
signed certificate for the Server (SSL). I had created and implemented
one. Also done the appropriate changes in the ssl.conf file. I can see 
the Port 443 is listening after the  server restart.
I can view the normal site,but the SSL cannot. My configuration for 
htaccess is as follows. m0d_ssl is enabled.

<Directory "/var/www/htdocs/domain">
deny from all
Options ExecCGI 
AllowOverride AuthConfig
Order deny,allow
</Directory>

The OpenSSL version is openssl-0.9.7. Once my the server logs gives me 
the following error.

[Thu Jun 05 02:28:12 2008] [error] Init: Unable to read pass phrase 
[Hint: key introduced or changed before restart?]
[Thu Jun 05 02:28:12 2008] [error] SSL Library Error: 218710120 
error:0D094068:asn1 encoding routines:func(148):reason(104)
[Thu Jun 05 02:28:12 2008] [error] SSL Library Error: 218529960 
error:0D0680A8:asn1 encoding routines:func(104):reason(168)
[Thu Jun 05 02:28:12 2008] [error] SSL Library Error: 218595386 
error:0D07803A:asn1 encoding routines:func(120):nested asn1 error
[Thu Jun 05 02:28:12 2008] [error] SSL Library Error: 218734605 
error:0D09A00D:asn1 encoding routines:func(154):ASN1 lib


How to get out this problem,Any help will be appreciated

BipinDas
System Administrator.
-- 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] SSL not working. Please help

Posted by BipinDas-BlueLabs <bi...@bltsol.com>.
Krist,

Thanks for your update. But I had already removed the Passphrase, but 
still not working. And the SSLport 443 is listening in the server.
while I calling https,browser went hangup. At the same time I can access 
Port 80.

Thanks

BipinDas


Krist van Besien wrote:
> On Thu, Jun 5, 2008 at 11:09 AM, BipinDas-BlueLabs <bi...@bltsol.com> wrote:
>
>   
>> [Thu Jun 05 02:28:12 2008] [error] Init: Unable to read pass phrase [Hint:
>> key introduced or changed before restart?]
>>     
>
> The private key of your webserver appears to be protected by a pass
> phrase. You need to either remove this pass phrase, or enter it when
> you start your server.
>
>
> Krist
>
>   

Re: [users@httpd] SSL not working. Please help

Posted by Krist van Besien <kr...@gmail.com>.
On Thu, Jun 5, 2008 at 11:09 AM, BipinDas-BlueLabs <bi...@bltsol.com> wrote:

> [Thu Jun 05 02:28:12 2008] [error] Init: Unable to read pass phrase [Hint:
> key introduced or changed before restart?]

The private key of your webserver appears to be protected by a pass
phrase. You need to either remove this pass phrase, or enter it when
you start your server.
http://httpd.apache.org/docs/2.2/ssl/ssl_faq.html#removepassphrase

Krist

-- 
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org