Mailinglist Archive: opensuse (4208 mails)

< Previous Next >
Re: [SLE] https
  • From: g.lams@xxxxxxxxxx
  • Date: Thu, 1 Jul 2004 16:50:07 +0200
  • Message-id: <OFF89A945A.784F8DD5-ONC1256EC4.0050AFA7-C1256EC4.0051879B@xxxxxxxxxx>
Once you put the certificates in the respective directorie, you need also
to indicate in apache's configuration file to use those certificates. In
fact the error says "no certificate configured".
You need to put something like:

# Server Certificate:
SSLCertificateFile /etc/apache2/ssl.crt/your_name.crt

# Server Private Key:
SSLCertificateKeyFile /etc/apache2/ssl.key/your_name.key

In my case, I've a virtual host define in
/etc/apache2/vhost.d/tomcat-ssl.conf, more or less like:
<IfDefine SSL>
<IfDefine !NOSSL>
<VirtualHost _default_:443>
DocumentRoot "/srv/www/htdocs"
ServerName tomcat-ssl.itcilo.org:443
ServerAdmin webmaster@xxxxxxxxxx
ErrorLog /var/log/apache2/tomcat-ssl_error_log
TransferLog /var/log/apache2/tomcat-ssl_access_log
SSLEngine on
# SSL Cipher Suite:
# List the ciphers that the client is permitted to negotiate.
# See the mod_ssl documentation for a complete list.
SSLCipherSuite
ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
# Server Certificate:
SSLCertificateFile /etc/apache2/ssl.crt/tomcat.crt
# Server Private Key:
SSLCertificateKeyFile /etc/apache2/ssl.key/tomcat.key
# Per-Server Logging:
# The home of a custom SSL log file. Use this when you want a
# compact non-error SSL logfile on a virtual host basis.
CustomLog /var/log/apache2/ssl_request_log ssl_combined
ErrorLog /var/log/apache2/ssl_error_log

</VirtualHost>
</IfDefine>
</IfDefine>

< Previous Next >
References