I created this certificate:
openssl req -x509 -out localhost.crt -keyout localhost.key
-newkey rsa:2048 -nodes -sha256
-subj '/CN=localhost' -extensions EXT -config <(printf "[dn]\nCN=localhost\n[req]\ndistinguished_name = dn\n[EXT]\nsubjectAltName=DNS:localhost\nkeyUsage=digitalSignature\nextendedKeyUsage=serverAuth")
and have tried installing it in both the Personal and 'Trusted Root Certificate Authorities' but when I try and bind to it in IIS for https it doesn't show up in the 'SSL certificates:' drop down. The certs 'Intended Purposes' is 'Server Authentication'.