Skip to content

Instantly share code, notes, and snippets.

@PierBover
Created January 27, 2022 17:57
Show Gist options
  • Save PierBover/0a785bc92dc2d9cc6e7bb2da05a11d74 to your computer and use it in GitHub Desktop.
Save PierBover/0a785bc92dc2d9cc6e7bb2da05a11d74 to your computer and use it in GitHub Desktop.

Revisions

  1. PierBover created this gist Jan 27, 2022.
    3 changes: 3 additions & 0 deletions create-dev-certs.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    openssl req -x509 -newkey rsa:2048 -nodes -sha256 -subj '/CN=localhost' -keyout localhost-key.pem -out localhost-cert.pem
    mkcert -install
    mkcert -key-file localhost-key.pem -cert-file localhost-cert.pem localhost 127.0.0.1