Created
October 5, 2021 07:32
-
-
Save teopost/84cc96e966ed3d303e330832ea09885c to your computer and use it in GitHub Desktop.
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/sh | |
MakeCert(){ | |
domain=$1 | |
openssl req -x509 -nodes -days 9000 -newkey rsa:2048 -keyout ${domain}.key -out ${domain}.crt \ | |
-subj "/C=IT/ST=Italy/L=Rimini/O=Acme srl/OU=IT Department/CN=${domain}" | |
} | |
MakeCert uatstage.acme.it | |
MakeCert uatlive.acme.it | |
MakeCert uatmobile.acme.it |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment