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 2003/07/11 13:37:21 UTC

DO NOT REPLY [Bug 21496] New: - Illegal attempt to re-initialise SSL

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21496>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21496

Illegal attempt to re-initialise SSL

           Summary: Illegal attempt to re-initialise SSL
           Product: Apache httpd-2.0
           Version: HEAD
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: mod_ssl
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: miroslav.sulc@startnet.cz


I am trying to configure SSL on my Apache 2.0.47 and I got this strange (at
least for me) error:

[Fri Jul 11 12:50:38 2003] [error] Illegal attempt to re-initialise SSL for
server (theoretically shouldn't happen!)

SSL module is configured as shared. In fact I have all modules built as shared
and loaded into Apache. I am not sure whether the order of loading modules can
play a role in this error. Here is the list:

LoadModule status_module        modules/mod_status.so
LoadModule info_module          modules/mod_info.so
LoadModule rewrite_module       modules/mod_rewrite.so
LoadModule asis_module          modules/mod_asis.so
LoadModule access_module        modules/mod_access.so
LoadModule userdir_module       modules/mod_userdir.so
LoadModule dir_module           modules/mod_dir.so
LoadModule mime_module          modules/mod_mime.so
LoadModule log_config_module    modules/mod_log_config.so
LoadModule alias_module         modules/mod_alias.so
LoadModule autoindex_module     modules/mod_autoindex.so
LoadModule negotiation_module   modules/mod_negotiation.so
LoadModule setenvif_module      modules/mod_setenvif.so
LoadModule ssl_module           modules/mod_ssl.so
LoadModule auth_module          modules/mod_auth.so
LoadModule deflate_module       modules/mod_deflate.so
LoadModule php4_module          modules/libphp4.so


I am not an expert so I might something misconfigured.

Here is my configuration related to SSL:

<IfModule mod_ssl.c>
    SSLEngine on
    SSLPassPhraseDialog  builtin
    SSLSessionCache         dbm:/var/log/httpd/ssl_scache
    SSLSessionCacheTimeout      300
    SSLMutex  file:/var/log/httpd/ssl_mutex
    SSLRandomSeed startup builtin
    SSLRandomSeed connect builtin
    SSLCertificateFile /etc/httpd/ssl.crt/server.crt
    SSLCertificateKeyFile /etc/httpd/ssl.crt/server.key
    SSLCipherSuite ALL
</IfModule>

<VirtualHost 192.168.1.28:443>
    ... 
    <IfModule mod_ssl.c>
        SSLEngine on
        SSLProtocol +ALL
        SSLCipherSuite ALL
        SSLCertificateFile /etc/httpd/ssl.crt/cvs-server.crt
        SSLCertificateKeyFile /etc/httpd/ssl.crt/server.key
    </IfModule>
    ... 
</VirtualHost>

The VirtualHost section is repeted for several virtual hosts and only the
SSLCertificateFile is changed for each VirtualHost.

There are also some VirtualHost items that are not configured for SSL.

There are 12 VirtualHost items and 4 VirtualHost items with configured SSL. They
are 1st, 6th, 11th and 12th. The error occures not in SSL configured VirtualHost
error log file but in 10th VirtualHost error log file. When I inserted new
VirtualHost without SSL configured at 11th position, then the same error occured
in the 11th VirtualHost error log file.

I also tried to make all virtual hosts configured for SSL but I got
'Segmentation fault' error.

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