You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Cody Harris <hc...@ns.sympatico.ca> on 2003/11/14 01:47:01 UTC

[users@httpd] Server Won't Start After SSL

I just installed (reinstalled) my server with PHP4 and ModSSL. (apache 1.3.29)

./configure --prefix=/etc/apache --enable-module=ssl
make
make certificate
make install

But when i:cody@darna:~/downloads/apache_1.3.29$ sudo /etc/apache/bin/apachectl startssl
Apache/1.3.29 mod_ssl/2.8.16 (Pass Phrase Dialog)
Some of your private key files are encrypted for security reasons.
In order to read them you have to provide us with the pass phrases.

Server darna.wolf:8443 (RSA)
Enter pass phrase:

Ok: Pass Phrase Dialog successful.
/etc/apache/bin/apachectl startssl: httpd started
cody@darna:~/downloads/apache_1.3.29$ sudo /etc/apache/bin/apachectl start
/etc/apache/bin/apachectl start: httpd started
cody@darna:~/downloads/apache_1.3.29$ sudo /etc/apache/bin/apachectl status

Looking up localhost
Making HTTP connection to localhost
Alert!: Unable to connect to remote host.

lynx: Can't access startfile http://localhost/server-status
cody@darna:~/downloads/apache_1.3.29$

-----------------------------------------------------------------------
The error log states:
[Thu Nov 13 20:33:17 2003] [notice] caught SIGTERM, shutting down
But that's when i shut down apache to install the new one.

What's up? configtest also passes.


-- 
+------------------+-----------------------------+
| Cody Harris      | Signed with GnuPG signature |
| KeyID: 610031E2A | vectec.net/~cody/key.asc    |
+------------------+-----------------------------+

---------------------------------------------------------------------
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] Server Won't Start After SSL

Posted by Cody Harris <hc...@ns.sympatico.ca>.
I restarted the comp to print something and the server came back online.

Anyways, the http portion works, but:

cody@darna:/etc/apache$ sudo apachectl startssl
/usr/sbin/apachectl startssl: httpd could not be started
cody@darna:/etc/apache$ sudo apachectl start
/usr/sbin/apachectl start: httpd started
cody@darna:/etc/apache$

In ssl_engine_log:

[13/Nov/2003 21:45:37 02094] [info]  Server: Apache/1.3.27, Interface: mod_ssl/2.8.12, Library: OpenSSL/0.9.7a
[13/Nov/2003 21:45:37 02094] [info]  Init: 1st startup round (still not detached)
[13/Nov/2003 21:45:37 02094] [info]  Init: Initializing OpenSSL library
[13/Nov/2003 21:45:37 02094] [info]  Init: Loading certificate & private key of SSL-aware server ssl.vectec.net:443
[13/Nov/2003 21:45:37 02094] [error] Init: Unable to read server certificate from file /etc/apache/ssl.crt/server.crt (OpenSSL library error follows)
[13/Nov/2003 21:45:37 02094] [error] OpenSSL: error:0D06B08E:asn1 encoding routines:ASN1_d2i_bio:not enough data



On Thu, 13 Nov 2003 20:47:01 -0400,
Someone named Cody Harris <hc...@ns.sympatico.ca> wrote:

> I just installed (reinstalled) my server with PHP4 and ModSSL. (apache 1.3.29)
> 
> ./configure --prefix=/etc/apache --enable-module=ssl
> make
> make certificate
> make install
> 
> But when i:cody@darna:~/downloads/apache_1.3.29$ sudo /etc/apache/bin/apachectl startssl
> Apache/1.3.29 mod_ssl/2.8.16 (Pass Phrase Dialog)
> Some of your private key files are encrypted for security reasons.
> In order to read them you have to provide us with the pass phrases.
> 
> Server darna.wolf:8443 (RSA)
> Enter pass phrase:
> 
> Ok: Pass Phrase Dialog successful.
> /etc/apache/bin/apachectl startssl: httpd started
> cody@darna:~/downloads/apache_1.3.29$ sudo /etc/apache/bin/apachectl start
> /etc/apache/bin/apachectl start: httpd started
> cody@darna:~/downloads/apache_1.3.29$ sudo /etc/apache/bin/apachectl status
> 
> Looking up localhost
> Making HTTP connection to localhost
> Alert!: Unable to connect to remote host.
> 
> lynx: Can't access startfile http://localhost/server-status
> cody@darna:~/downloads/apache_1.3.29$
> 
> -----------------------------------------------------------------------
> The error log states:
> [Thu Nov 13 20:33:17 2003] [notice] caught SIGTERM, shutting down
> But that's when i shut down apache to install the new one.
> 
> What's up? configtest also passes.
> 
> 
> -- 
> +------------------+-----------------------------+
> | Cody Harris      | Signed with GnuPG signature |
> | KeyID: 610031E2A | vectec.net/~cody/key.asc    |
> +------------------+-----------------------------+
> 
> ---------------------------------------------------------------------
> 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
> 


-- 
+------------------+-----------------------------+
| Cody Harris      | Signed with GnuPG signature |
| KeyID: 610031E2A | vectec.net/~cody/key.asc    |
+------------------+-----------------------------+