Created
December 27, 2020 06:17
-
-
Save percybolmer/c70cdb52d9968dd4fa6d3bca731c0d39 to your computer and use it in GitHub Desktop.
A configuration to generate a cert for localhost
This file contains hidden or 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
[req] | |
default_bits = 4096 | |
prompt = no | |
default_md = sha256 | |
req_extensions = req_ext | |
distinguished_name = dn | |
[dn] | |
C = US | |
ST = NJ | |
O = Test, Inc. | |
CN = localhost | |
[req_ext] | |
subjectAltName = @alt_names | |
[alt_names] | |
DNS.1 = localhost | |
IP.1 = ::1 | |
IP.2 = 127.0.0.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment