title: Apache2 conf file with SSL causes ERR_CONNECTION_REFUSED
body: <p>I am trying to configure my SSL certificate on a Ubuntu 15.10 box.  I have installed the certificate files and the private key in the required directory:</p>
  
  <pre><code>SSLCertificateFile /etc/apache2/ssl-certs/pts.crt
  SSLCertificateKeyFile /etc/apache2/ssl-certs/msk.key
  SSLCertificateChainFile /etc/apache2/ssl-certs/intermediate.crt
  </code></pre>
  
  <p>When I do <code>sudo service apache2 restart</code> I am then prompted to <code>Enter passphrase for SSL/TLS keys for www.mydomain.com:443 (RSA): ********</code> and since this process reports back with no errors, I am assuming that I have at least installed the certificates and private key correctly, otherwise I would have expected an error at this stage.  </p>
  
  <p>My problem is that I receive <code>ERR_CONNECTION_REFUSED</code> when trying to load the site.   </p>
  
  <p>Here is my backup copy of the <code>VirtualHost</code> entry for the SSL site that I am using.  Are there any obvious problems with this file?  </p>
  
  <p>I should also add that when I use this configuration, not only does the intended site fail to load, but it also causes all other sites for this apache2 box to fail to load also.  Any ideas? </p>
  
  <pre><code>`&lt;VirtualHost *:80&gt;
  ServerName mydomain.com
  ServerAlias www.mydomain.com
  ServerAdmin daniel@mydomain.com
  RewriteEngine On
  RewriteCond %{HTTPS} !on
  RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
  &lt;/VirtualHost&gt;
  
  &lt;VirtualHost 172.30.30.21:443&gt;
  ServerName www.mydomain.com
  ServerAlias mydomain.com
  ServerAdmin me@mydomain.com
  SSLEngine on
  SSLProtocol all
  SSLCertificateFile /etc/apache2/ssl-certs/pts.crt
  SSLCertificateKeyFile /etc/apache2/ssl-certs/msk.key
  SSLCertificateChainFile /etc/apache2/ssl-certs/intermediate.crt
  DocumentRoot /home/apts/Dropbox/mydomain.com/ 
  &lt;Directory /home/apts/Dropbox/mydomain.com/&gt;
  &lt;IfModule mod_rewrite.c&gt;
  &lt;IfModule mod_ssl.c&gt;
  # &lt;Location /squirrelmail&gt;
  RewriteEngine on
  RewriteCond %{HTTPS} !^on$ [NC]
  RewriteRule . https://%{HTTP_HOST}%{REQUEST_URI} [L]
  # &lt;/Location&gt;
  &lt;/IfModule&gt;
  &lt;/IfModule&gt;
  SSLOptions +StrictRequire
  Options +FollowSymLinks -Indexes +MultiViews
  AllowOverride All
  Order allow,deny
  allow from all
  &lt;/Directory&gt;
  SSLProtocol -all +TLSv1 +SSLv3
  SSLCipherSuite HIGH:MEDIUM:!aNULL:+SHA1:+MD5:+HIGH:+MEDIUM  
  SSLVerifyClient none
  SSLProxyEngine off
  &lt;/VirtualHost&gt;`
  </code></pre>