title: https on apache2. https does not work out side home network
body: <p>I have a personal website running on apache2 on my raspberry pi(raspbian) with no-ip dynamic dns service. Port 80 is forwarded on my home router and the website is accessible outside home network.
  Now I am trying to enable https for the website. I have placed the certs on the server,
  I ran below first,</p>
  
  <pre><code>sudo a2enmod ssl
  </code></pre>
  
  <p>/etc/apache2/apache2.conf has,</p>
  
  <pre><code>&lt;VirtualHost &lt;my local ip&gt;:443&gt;
  DocumentRoot /var/www/html
  ServerName raspiabita.ddns.net
  SSLEngine on
  SSLCertificateFile /var/www/html/certificate.crt
  SSLCertificateKeyFile /var/www/html/private.key
  SSLCertificateChainFile /var/www/html/ca_bundle.crt
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>/etc/apache2/ports.conf has below</p>
  
  <pre><code>Listen 80
  &lt;IfModule ssl_module&gt;
        Listen 443
  &lt;/IfModule&gt;
  &lt;IfModule mod_gnutls.c&gt;
        Listen 443
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>I have forwarded port 443 on my router.
  Inside home network, http:// works fine. https:// works fine.
  Outside home network, <a href="http://raspiabita.ddns.net" rel="nofollow noreferrer">http://raspiabita.ddns.net</a> works. But <a href="https://raspiabita.ddns.net" rel="nofollow noreferrer">https://raspiabita.ddns.net</a> does not work. Can any one help me ?</p>
  
  <p>Thanks,
  Simon</p>