This file contains hidden or 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
#!/usr/bin/env bash | |
# Generate a new cert | |
openssl req \ | |
-x509 \ | |
-newkey rsa:2048 \ | |
-days 365 \ | |
-nodes \ | |
-keyout key.pem \ | |
-out cert.pem |