You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2012/02/21 16:46:41 UTC

DO NOT REPLY [Bug 52734] New: apache d'ont start after config ssl module and putting cert.pem

https://issues.apache.org/bugzilla/show_bug.cgi?id=52734

             Bug #: 52734
           Summary: apache d'ont start after config ssl module and putting
                    cert.pem
           Product: Apache httpd-2
           Version: 2.2.9
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_ssl
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: wissem.saied@hotmail.com
    Classification: Unclassified


When I configure my server and put certificates and do all possible config, I
obtain ALWAYS this message :

ofcorse :
mod ssl is enabled (a2enmod ssl)
ports ans virtuals hosts are OK!!

server:~# apache2ctl start
[Tue Feb 21 15:36:08 2012] [warn] module ssl_module is already loaded, skipping
Syntax error on line 1 of /etc/apache2/conf.d/certs/certificate.PEM:
Invalid command '-----BEGIN', perhaps misspelled or defined by a module not
included in the server configuration

And apache d'ont start!!!

I d'ont know where is the probleme??!! help plz

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 52734] apache d'ont start after config ssl module and putting cert.pem

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52734

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Eric Covener <co...@gmail.com> 2012-02-21 15:52:32 UTC ---
You put your certificate in a path where it's picked by the Include directive. 
Usually a wildcard include should be limited to e.g. *.conf which would have
not picked up your *.PEM.

http://httpd.apache.org/docs/2.2/mod/core.html#include

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 52734] apache d'ont start after config ssl module and putting cert.pem

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52734

wissem112 <wi...@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 52734] apache d'ont start after config ssl module and putting cert.pem

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52734

wissem112 <wi...@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wissem.saied@hotmail.com
         OS/Version|Windows XP                  |Linux
           Severity|normal                      |critical

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 52734] apache d'ont start after config ssl module and putting cert.pem

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52734

--- Comment #3 from wissem112 <wi...@hotmail.com> 2012-02-21 16:12:11 UTC ---
==> I have this error :

server:~# apache2ctl start
Syntax error on line 1 of /etc/apache2/conf.d/certs/certificate.PEM:
Invalid command '-----BEGIN', perhaps misspelled or defined by a module not
included in the server configuration

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 52734] apache d'ont start after config ssl module and putting cert.pem

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52734

--- Comment #2 from wissem112 <wi...@hotmail.com> 2012-02-21 16:06:55 UTC ---
I dont talk about the warining!! I add this line to be sure that SSl module is
enabled. 
And in my  hddpd.conf I have add this line :
Include /etc/apache2/conf.d/certs/certificate.PEM

==> I have this error :

server:~# apache2ctl start
Syntax error on line 1 of /etc/apache2/conf.d/certs/S913_SRTGN_01_12.PEM:
Invalid command '-----BEGIN', perhaps misspelled or defined by a module not
included in the server configuration


Thanks

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 52734] apache d'ont start after config ssl module and putting cert.pem

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52734

Rich Bowen <rb...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |INVALID

--- Comment #4 from Rich Bowen <rb...@apache.org> 2012-02-21 16:25:17 UTC ---
Have a look at the SSL configuration HowTo at
http://httpd.apache.org/docs/2.4/ssl/ssl_howto.html

You don't Include your certificate file, you use SSLCertificateFile to load it.

Hope this helps.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org