Few days ago, one of my clients start with implementation of ASP.NET application in three different environment (Dev, QA and Prod). Their request was pretty same as usual, except one condition. They want self-signed SSL certificate on IIS server with custom name for each application.

I said “OK”, but when I tried to create self-signed certificate on IIS, I have realized that is not possible. Although I need to add friendly name of certificate, that is not certificate DNS name, and If you want to add more that one self-signed certificate, all will be issued with same DNS name.



Luckily, using PowerShell task was completed in 30 seconds 🙂

New-SelfSignedCertificate -DnsName QA-App.tech-trainer.local -CertStoreLocation Cert:\LocalMachine\My


Certificate is issued with desired DNS name, but friendly name missed in this case.


Luckily, that can be configured easily in Certification manager console by editing certificate properties.


Now, you can see that certificate friendly name is configured.


Cheers ! ! !

Please follow and like us:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.