Skip to content

Instantly share code, notes, and snippets.

@johnhpatton
Created April 1, 2020 13:07
Show Gist options
  • Save johnhpatton/c54441f745e01c32e935715e17c7e247 to your computer and use it in GitHub Desktop.
Save johnhpatton/c54441f745e01c32e935715e17c7e247 to your computer and use it in GitHub Desktop.
Create simple self-signed SSL cert for localhost.
openssl req -nodes -x509 -sha256 -newkey rsa:4096 -keyout localhost.key -out localhost.crt -days 3650 -subj '/C=US/ST=Illinois/L=Chicago/O=Workstation/OU=Local/CN=localhost'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment