Created
April 24, 2020 16:09
-
-
Save foxycode/1cbd29265e5bd57c4b788a2b83f994d5 to your computer and use it in GitHub Desktop.
OpenSSL silently create self-signed certificate
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
#!/bin/sh | |
openssl req -x509 -nodes -days 3650 -subj "/C=CZ/ST=CZ/O=Application/CN=app.test" -addext "subjectAltName=DNS:app.test" -newkey rsa:2048 -keyout app.key -out app.crt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment