I'm having considerable difficulty configuring my HTTPS connection. I've already generated a key and sent it to my CA, but after configuring my sever I constantly get:
Error 102 (net::ERR_CONNECTION_REFUSED): The server refused the connection.
Here's my config:
Code:
Namevirtualhost 37.??.??.???:80
Namevirtualhost 37.??.??.???:443
<VirtualHost 37.??.??.???:80 >
ServerAdmin webmaster@localhost
Servername My FQN is here. (without the www)
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
# Disable direct access to the folder
<Directory /var/www/videos>
AllowOverride None
allow from all
</Directory>
and my SSL,
<IfModule mod_ssl.c>
<VirtualHost 37.??.??.???:443>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/direct
Servername my FQN (with www omitted)
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
SSLCertificateFile /etc/ssl/certs/my_site.crt
SSLCertificateKeyFile /etc/ssl/private/my.key
SSLCertificateChainFile /etc/ssl/certs/my.ca-bundle
Bookmarks