- install openssl for windows http://gnuwin32.sourceforge.net/packages/openssl.htm
- configure cmd environment.
OPENSSL_CONF
should point to config file. UsuallyC:\Program Files (x86)\GnuWin32\share\openssl.cnf
. - add
C:\Program Files (x86)\GnuWin32\bin
toPATH
. Runwhere openssl
in cmd to verify it finds the correct file.
- Edit the config file at
OPENSSL_CONF
to include your locally signed domain names.
[SAN]
subjectAltName=DNS:*.local,DNS:*.docker,DNS:*.dev.next.sc
- generate root certificate and key by running
openssl.exe req -x509 -nodes -days 365 -newkey rsa:2048 -reqexts SAN -extensions SAN -keyout server.key -out server.crt
- generate p7k certificate by running
openssl crl2pkcs7 -nocrl -certfile server.crt -out certificate.p7b
- add p7k to root certificate store
certutil -enterprise -f -v -AddStore "Root" certificate.p7b
-
use
server.key
andserver.crt
on your local webserver -
add to your hosts file
C:\Windows\System32\drivers\etc\hosts
127.0.0.1 auth-ui.dev.next.sc
127.0.0.1 auth-restful.dev.next.sc
127.0.0.1 signage-ui.dev.next.sc
127.0.0.1 signage-graphql.dev.next.sc
127.0.0.1 lambda.dev.next.sc