Skip to content

Instantly share code, notes, and snippets.

@e-cite
Created April 16, 2022 16:01
Show Gist options
  • Save e-cite/d213a6f5609e0e69cd9afb515318e78b to your computer and use it in GitHub Desktop.
Save e-cite/d213a6f5609e0e69cd9afb515318e78b to your computer and use it in GitHub Desktop.
OpenSSL self-signed certificate
  1. Generate self-signed certificate
    openssl req -x509 -newkey rsa:4096 -sha256 -days 3650 -nodes -keyout selfsigned.key -out selfsigned.crt -subj '/CN=example.com' -addext 'subjectAltName=DNS:example.com'
  2. Import it to "Vertrauenswürdige Stammzertifizierungsstellen" in Windows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment