Skip to content

Selfsigned wildcard certificate in Windows

April 19, 2018

If you want to test/laborate and need a wildcard certificate (SSL-certificate) you can create a selfsigned wildcard certificate in Windows.

On the web-server (IIS):

New-SelfSignedCertificate -CertStoreLocation "Cert:\LocalMachine\My" -DnsName "*" -Subject "Whatever-Name-You-Like";

Now you can use the certificate for the https-binding. Export the certificate and import it on the client to the “Cert:\LocalMachine\Root”-store. The certificate is now cosidered secure in Chrome, Edge and IE.


From → PowerShell, Windows

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: