Iis – How to change “Issued to” in Server certificates (for self-signed certificate)

iissharepointssl-certificate

enter image description here

I'm faced with an address mismatch in my Self-signed ssl certificate in my sharepoint site. I suspect I have to change the "Issued to" section, which is the common name in my server certificate to match that of my website's hostname. The Server certificates section can be found in my iis.

Since I cannot edit my certificate, how do I make a new self-signed certificate that matches my website address? Do I have to change the server name, or something like that?

Best Answer

You can't modify certificate contents, because they are digitally signed by an issuer. By changing any bit in the certificate you will make it totally invalid.

Instead, you have to generate new certificate signing request and provide correct names there. After that submit requests to your CA provider (in your case, it is DigiCert).