Last active
November 5, 2018 07:13
-
-
Save bretkikehara/25a528868ea71f7c72229b89dbba4dab to your computer and use it in GitHub Desktop.
generate valid localhost certificates for chrome
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/OpenVPN/easy-rsa | |
./easyrsa \ | |
--batch \ | |
--dn-mode=org \ | |
--req-c="US" \ | |
--req-st="California" \ | |
--req-city="SF" \ | |
--req-org="Copyleft Certificate Co" \ | |
--req-email=me@example.net \ | |
--req-ou="My Organizational Unit" \ | |
--req-cn="my-local-ca" \ | |
build-ca | |
./easyrsa \ | |
--batch \ | |
--dn-mode=org \ | |
--req-c="US" \ | |
--req-st="California" \ | |
--req-city="SF" \ | |
--req-org="Copyleft Certificate Co" \ | |
--req-email=me@example.net \ | |
--req-ou="My Organizational Unit" \ | |
--req-cn="mylocaldomain.com" \ | |
--subject-alt-name="DNS:mylocaldomain.com,DNS:*.mylocaldomain.com,DNS:*.ctrl.mylocaldomain.com" \ | |
build-server-full \ | |
'mylocaldomain.com' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment