Created
May 4, 2022 01:54
-
-
Save iAnatoly/9e02685372f07ebeca96762d6bc9d4e1 to your computer and use it in GitHub Desktop.
openssl self-signed cert one line
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -sha256 -days 365 -nodes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment