Skip to content

Instantly share code, notes, and snippets.

@btorch
Last active March 26, 2017 03:27
Show Gist options
  • Save btorch/061c199d2c8778da2c7f to your computer and use it in GitHub Desktop.
Save btorch/061c199d2c8778da2c7f to your computer and use it in GitHub Desktop.
openssl req -x509 -sha256 -newkey rsa:2048 -nodes -days 7300 -out mycert.crt -keyout mycert.key
- Get SHA-1 fingerprint:
openssl x509 -noout -in torproject.pem -fingerprint -sha1
- Get SHA-256 fingerprint:
openssl x509 -noout -in torproject.pem -fingerprint -sha256
- wildcard ones
https://serversforhackers.com/self-signed-ssl-certificates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment