Page 1 of 1

error when install ssl in apache

PostPosted: 28. July 2011 06:14
by khang0001
i reg ssl in comodo and have 2 file abc.crt and abc.key. when i modify httpd-ssl.conf in conf/extra
DocumentRoot "C:/xampp/htdocs"
ServerName www.abc.com:443
ServerAdmin admin@abc.com
SSLCertificateFile conf/ssl.crt/abc.com.crt
SSLCertificateKeyFile conf/ssl.key/abc.com.key
and then i restart apache, but apache can`t start, i try to restart my vps but apache cant start
help me, how can i install ssl in my apache

Re: error when install ssl in apache

PostPosted: 28. July 2011 06:20
by Sharley
khang0001 wrote:and then i restart apache, but apache can`t start
What does the C:\xampp\apache\logs\error.log file have to say why Apache can't start?

Re: error when install ssl in apache

PostPosted: 28. July 2011 07:01
by khang0001
[Wed Jul 27 14:50:27 2011] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Wed Jul 27 14:50:27 2011] [notice] Child 1592: Exit event signaled. Child process is ending.
[Wed Jul 27 14:50:28 2011] [notice] Child 1592: Released the start mutex
[Wed Jul 27 14:50:29 2011] [notice] Child 1592: All worker threads have exited.
[Wed Jul 27 14:50:34 2011] [notice] Child 1592: Child process is exiting
[Wed Jul 27 14:50:34 2011] [notice] Parent: Child process exited successfully.

Re: error when install ssl in apache

PostPosted: 28. July 2011 07:19
by Sharley
khang0001 wrote:[Wed Jul 27 14:50:27 2011] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Wed Jul 27 14:50:27 2011] [notice] Child 1592: Exit event signaled. Child process is ending.
[Wed Jul 27 14:50:28 2011] [notice] Child 1592: Released the start mutex
[Wed Jul 27 14:50:29 2011] [notice] Child 1592: All worker threads have exited.
[Wed Jul 27 14:50:34 2011] [notice] Child 1592: Child process is exiting
[Wed Jul 27 14:50:34 2011] [notice] Parent: Child process exited successfully.
That shows a [notice] related to each successful event associated with the stopping processes of Apache, not what we are looking for..

What you need to look for is an [error] sequence of events at about the date and time that you last tried to Start Apache after the error message that it can't start is offered.


To help you easily do this first make sure that Apache is not running.

Then open and delete the contents of the error.log file, then close and save the file.
Or you can delete the error.log file completely as it will be recreated clean when next you try and start Apache.

Now you can try to Start Apache either using the XAMPP Control Panel and when it gives the error message that it can't start, open the error.log file and you will see the error messages often with reason causing the problem, they will all have the current date and time.

Or by running the apache_start.bat file which will also give a reason why it is unable to start Apache.

Re: error when install ssl in apache

PostPosted: 28. July 2011 07:26
by khang0001
sorry , more information in log my system

[Wed Jul 27 16:15:24 2011] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Wed Jul 27 16:15:24 2011] [notice] Child 2920: Exit event signaled. Child process is ending.
[Wed Jul 27 16:15:25 2011] [notice] Child 2920: Released the start mutex
[Wed Jul 27 16:15:26 2011] [notice] Child 2920: All worker threads have exited.
[Wed Jul 27 16:15:26 2011] [notice] Child 2920: Child process is exiting
[Wed Jul 27 16:15:26 2011] [notice] Parent: Child process exited successfully.
[Wed Jul 27 16:20:42 2011] [error] Init: SSLPassPhraseDialog builtin is not supported on Win32 (key file C:/xampp/apache/conf/ssl.key/server.key)
[Wed Jul 27 16:20:55 2011] [error] Init: SSLPassPhraseDialog builtin is not supported on Win32 (key file C:/xampp/apache/conf/ssl.key/server.key)

Re: error when install ssl in apache

PostPosted: 28. July 2011 07:40
by Sharley
khang0001 wrote:[Wed Jul 27 16:20:42 2011] [error] Init: SSLPassPhraseDialog builtin is not supported on Win32 (key file C:/xampp/apache/conf/ssl.key/server.key)
[Wed Jul 27 16:20:55 2011] [error] Init: SSLPassPhraseDialog builtin is not supported on Win32 (key file C:/xampp/apache/conf/ssl.key/server.key)
There is the reason for Apache not able to start.

Help here:
http://www.entrust.net/knowledge-base/t ... fm?tn=5634
viewtopic.php?f=16&t=34522

Good luck. :)