How to get HTTPS working in localhost development environment
Admin
223

had no errors with the mmc, by selecting “show all files” and selecting the rootSSL.pem file.

Using Windows 10, powershell, when creating the new certificate using rootSSL certificate i did need to create a seperate -ext file called ‘v3.ext’:

authorityKeyIdentifier=keyid,issuer
basicConstraints=CA:FALSE
keyUsage = digitalSignature, nonRepudiation, keyEncipherment, dataEncipherment
subjectAltName=DNS:demo.local

final command looked like this:

openssl x509
-req
-in demo.local.csr
-CA rootSSL.pem -CAkey rootSSL.key -CAcreateserial
-out demo.local.crt
-days 500
-sha256
-extfile v3.ext