title: "Server 's certificate does not match the url " when using self signed certificates
body: <p>I have been trying to configure a website I deployed on my local server with a self signed certificate for development purposes. The address I want my website to work for is example.company.local.
  After I genrated a certicate using SelfSSL, I copied it to the Local Machine store in both Personal and Trusted Certifciate root . But I get the error "Server's certificate does not match the url" when I try to reach the url. Though I can ignore it, I understand that the cert auth is failing and I want to fix this.  I am listing the steps I followed </p>
  
  <ol>
  <li>Generated self signed cert using <code>selfssl /N:CN=example.company.local /V:9999</code>. This added the certiciate to my Personal store on Local Machine</li>
  <li>From the mmc (type mmc in Run), I add the cert generated above to the to Trusted Root Certificate folder from the Personal folder</li>
  <li>Restart IIS</li>
  </ol>
  
  <p>Please suggest where I am going wrong. The url I give is <code>https://example.company.local</code>, but it refers to a localhost certificate.</p>