Strong self-signed SSL certificates for development on IIS


openssl req -newkey rsa:4096 -nodes -keyout key.pem -x509 -days 3650 -out certificate.pem -sha256
openssl x509 -text -noout -in certificate.pem
openssl pkcs12 -inkey key.pem -in certificate.pem -export -out certificate.pfx
openssl pkcs12 -in certificate.pfx -noout -info

Links: