Created
June 8, 2020 19:21
-
-
Save richturner/484a8f6ab25128b6072e73091bffcd76 to your computer and use it in GitHub Desktop.
openssl generate selfsigned PEM cert
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
#!/usr/bin/env sh | |
openssl req -x509 -new -nodes -subj "/C=GB/CN=OpenRemote Demo Cert/O=OpenRemote/OU=Demo" -addext "subjectAltName = DNS:localhost,IP:127.0.0.1" -newkey rsa:2048 -keyout localhost.pem -out localhost.pem -days 10950 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment