title: SSL Localhost Privacy error
body: <p>I setup ssl on localhost (wamp), I made the ssl crt with GnuWIn32.</p>
  
  <p>When I try to login with fb <strong>in Chrome</strong> I get the following message:</p>
  
  <p>URL:</p>
  
  <pre><code>https://localhost/ServerSide/fb-callback.php?code=.....#_=_
  </code></pre>
  
  <p>Error:</p>
  
  <blockquote>
    <p>Your connection is not private.<br>
        Attackers might be trying to steal your information from localhost (for example, passwords, messages, or credit cards). NET::ERR_CERT_INVALID.
        localhost normally uses encryption to protect your information. When Chrome tried to connect to localhost this time, the website sent back unusual and incorrect credentials. This may happen when an attacker is trying to pretend to be localhost, or a Wi-Fi sign-in screen has interrupted the connection. Your information is still secure because Chrome stopped the connection before any data was exchanged.</p>
    
    <p>You cannot visit localhost right now because the website sent scrambled credentials that Chrome cannot process. Network errors and attacks are usually temporary, so this page will probably work later.</p>
  </blockquote>
  
  <p>My SSL Config:</p>
  
  <pre><code>Listen 443    
  SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5    
  SSLPassPhraseDialog  builtin    
  SSLSessionCache        "shmcb:c:/wamp/www/ssl/logs/ssl_scache(512000)"
  SSLSessionCacheTimeout  300    
  &lt;VirtualHost *:443&gt;    
  DocumentRoot "c:/wamp/www"
  ServerName localhost:443
  ServerAdmin admin@example.com
  ErrorLog "c:/wamp/logs/error.log"
  TransferLog "c:/wamp/logs/access.log"
  SSLEngine on
  SSLCertificateFile "c:/wamp/www/ssl/ia.crt"
  SSLCertificateKeyFile "c:/wamp/www/ssl/ia.key"
  &lt;FilesMatch "\.(cgi|shtml|phtml|php)$"&gt;
      SSLOptions +StdEnvVars
  &lt;/FilesMatch&gt;
  &lt;Directory "c:/Apache24/cgi-bin"&gt;
      SSLOptions +StdEnvVars
  &lt;/Directory&gt;    
  BrowserMatch "MSIE [2-5]"  nokeepalive ssl-unclean-shutdown \
           downgrade-1.0 force-response-1.0
  CustomLog "c:/wamp/logs/ssl_request.log" \
            "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
  &lt;/VirtualHost&gt;   
  </code></pre>
  
  <p>My question is how to setup valid SSL certificate on localhost? or do I need to edit my configuration?</p>