Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-02-2005, 09:07 AM   #1
Registered: Apr 2004
Location: Belgium Antwerpen
Distribution: slackware - knoppix
Posts: 141

Rep: Reputation: 18
apache2 - ssl : connection via ssl interrupted


I have problem with apache and ssl for which I cannot find a solution for some time now:

I have slackware 10.2 and I installed apache2 with ssl. The apache webserver seems to be working fine but the connection over ssl however is giving me some headeaches.
Since I have the badluck that my provider "telenet belgium" blocks the privilleged ports under 1024 for server-purposes, I had to correct the Listen ports to
Listen 7123 in httpd.conf
Listen 7443 in ssl.conf

When I connect via http to my website. ( it works fine. But when connecting through https ( I get a message: "action interrupted while connecting to" in mozilla 1.7 and "cannot find server - the page cannot be displayed" in ms internet explorer 6

I got "" from and I'm using ddclient to keep my ip up to date with the name.

I checked "netstat -tpan | grep 7443" and got following result:
tcp 0 0* LISTEN 1630/httpd
=> so to me, it looks like it should work.

This is from my ssl.conf file:
<IfDefine SSL>
Listen 7443
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl .crl
SSLPassPhraseDialog builtin
SSLMutex file:/usr/local/apache2/logs/ssl_mutex
<VirtualHost _default_:7443>
DocumentRoot "/home/http"
ErrorLog /usr/local/apache2/logs/error_log
TransferLog /usr/local/apache2/logs/access_log
SSLEngine on
SSLCertificateFile /usr/local/apache2/conf/ssl.crt/server.crt
SSLCertificateKeyFile /usr/local/apache2/conf/ssl.key/server.key
<Files ~ "\.(cgi|shtml|phtml|php3?)$">
SSLOptions +StdEnvVars
<Directory "/usr/local/apache2/cgi-bin">
SSLOptions +StdEnvVars
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
CustomLog /usr/local/apache2/logs/ssl_request_log \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"

I already tried to make servername:

the certificates were made with:
openssl genrsa -des3 -out server.key 1024
openssl req -new -key server.key -out server.csr
openssl x509 -req -days 1825 -in server.csr -signkey server.key -out server.crt
For the Common Name (CN) I always used the same as what I put in ServerName in the ssl.conf file.

Thanks if you can give me any advice on this.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
vsFTPd - SSL connection and dynamic SSL ports toxoplasme Linux - Server 11 08-22-2008 10:50 PM
Apache2 and SSL problems Malibyte Linux - Software 1 07-09-2005 04:14 PM
compiling apache2 with SSL devfreak Linux - Software 1 05-22-2005 11:18 AM
Apache2, SSL, HTTPS... KneeLess Debian 3 09-02-2004 09:44 PM
Apache2 + SSL for the first time ridertech Linux - Newbie 0 02-14-2004 03:36 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:46 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration