Skip to content

Instantly share code, notes, and snippets.

@Mitya88
Created November 16, 2020 12:48
Show Gist options
  • Save Mitya88/dc8e9e3009e3f4bb9754c98f4b7254e1 to your computer and use it in GitHub Desktop.
Save Mitya88/dc8e9e3009e3f4bb9754c98f4b7254e1 to your computer and use it in GitHub Desktop.
IF NOT EXIST mkcert.exe powershell Invoke-WebRequest https://github.com/FiloSottile/mkcert/releases/download/v1.4.1/mkcert-v1.4.1-windows-amd64.exe -UseBasicParsing -OutFile mkcert.exe
mkcert -install
del /Q /S *.crt
del /Q /S *.key
mkcert -cert-file secrets\tls\global-cm\tls.crt -key-file secrets\tls\global-cm\tls.key "cm.globalhost"
mkcert -cert-file secrets\tls\global-cd\tls.crt -key-file secrets\tls\global-cd\tls.key "cd.globalhost"
mkcert -cert-file secrets\tls\global-id\tls.crt -key-file secrets\tls\global-id\tls.key "id.globalhost"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment