title: Certificate does NOT include an ID which matches the server name
body: <p>I'm using XAMPP and started Apache but I cannot access my site over HTTPS.</p>
  
  <p>I get the following error;</p>
  
  <blockquote>
    <p>[Wed Aug 20 08:05:33.208723 2014] [ssl:warn] [pid 3784:tid 256] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
        [Wed Aug 20 08:05:33.746774 2014] [ssl:warn] [pid 3784:tid 256] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
        [Wed Aug 20 08:05:33.825871 2014] [mpm_winnt:notice] [pid 3784:tid 256] AH00455: Apache/2.4.7 (Win32) OpenSSL/1.0.1e PHP/5.5.6 configured -- resuming normal operations
        [Wed Aug 20 08:05:33.825871 2014] [mpm_winnt:notice] [pid 3784:tid 256] AH00456: Apache Lounge VC11 Server built: Nov 21 2013 20:13:01
        [Wed Aug 20 08:05:33.825871 2014] [core:notice] [pid 3784:tid 256] AH00094: Command line: 'c:\xampp\apache\bin\httpd.exe -d C:/xampp/apache'
        [Wed Aug 20 08:05:33.830753 2014] [mpm_winnt:notice] [pid 3784:tid 256] AH00418: Parent: Created child process 4452
        [Wed Aug 20 08:05:35.148052 2014] [ssl:warn] [pid 4452:tid 268] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name</p>
  </blockquote>
  
  <p>Below is a snippet from my <code>httpd-ssl.conf</code> file:</p>
  
  <pre><code># SSL Virtual Host Context
  &lt;VirtualHost _default_:443&gt;
  
  # General setup for the virtual host
  DocumentRoot "C:/xampp/htdocs"
  ServerName www.example.com:443
  ServerAdmin admin@example.com
  ErrorLog "C:/xampp/apache/logs/error.log"
  TransferLog "C:/xampp/apache/logs/access.log"
  
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>What am I doing wrong and how can I fix it?</p>