Skip to content

Instantly share code, notes, and snippets.

@toadkicker
Created November 20, 2023 21:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save toadkicker/f47f6697dd3b058f222d74309688bb4f to your computer and use it in GitHub Desktop.
Save toadkicker/f47f6697dd3b058f222d74309688bb4f to your computer and use it in GitHub Desktop.
2023 self signed ssl cert
# 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