title: How to configure SSL on localhost with self signed certificate on IIS?
body: <p>I'm pretty new dealing with IIS, so forgive me if i misunderstand something here and for my amateurism. I created here a self signed certificate for a site, on the creation a i need to put "*.site " as a friendly name ? That friendly name needs to match the domain name to the site ? Than i proceed to bind the certificate to the site, i selected the protocol https, put the host name, the IP xxx.xxx.xxx.xxx, the port (3000), select the certificate than clicked OK,</p>
  
  <p><a href="https://i.stack.imgur.com/M97wq.png" rel="nofollow noreferrer">Edit site binding screen</a> </p>
  
  <p>I open the browser, the certificate is vinculated to the site, and the URL stays like : "https: //site.com:3000". But the site comes with a UNSECURE status.  </p>
  
  <p>That's running on localhost. </p>
  
  <p>I'm getting those 2 errors here, first one (SAN) is related to a package missing on the certificate with an alternative subject name. I cannot add that property on a self signed certificate, right ?
  And the second one is related to "common name invalid" that i have no idea why that happening. </p>
  
  <p>I need a north to solve this. 
  Thanks in advance.</p>
  
  <p><a href="https://i.stack.imgur.com/72oqv.png" rel="nofollow noreferrer">Errors</a></p>