Skip to content

Instantly share code, notes, and snippets.

@foxycode
Created April 24, 2020 16:09
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 foxycode/1cbd29265e5bd57c4b788a2b83f994d5 to your computer and use it in GitHub Desktop.
Save foxycode/1cbd29265e5bd57c4b788a2b83f994d5 to your computer and use it in GitHub Desktop.
OpenSSL silently create self-signed certificate
#!/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