Created
November 20, 2023 21:12
-
-
Save toadkicker/f47f6697dd3b058f222d74309688bb4f to your computer and use it in GitHub Desktop.
2023 self signed ssl cert
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
# change out nodes, subject, text as one sees fit | |
openssl req -x509 -newkey rsa:4096 -sha256 -days 3650 \ | |
-nodes -keyout host.lan.key -out host.lan.crt -subj "/CN=host.lan" \ | |
-addext "subjectAltName=DNS:host.lan,DNS:*.lan,IP:192.168.1.254" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment