Skip to content

Instantly share code, notes, and snippets.

@codeniko
Created October 24, 2020 08:24
Show Gist options
  • Save codeniko/6fb443fcbd3ffa8c6748af503cb9741a to your computer and use it in GitHub Desktop.
Save codeniko/6fb443fcbd3ffa8c6748af503cb9741a to your computer and use it in GitHub Desktop.
generate fake cert and key for https testing in dev
openssl req -x509 -sha256 -nodes -days 9365 -newkey rsa:2048 -keyout fake-key.pem -out fake-cert.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment