Created
February 6, 2023 06:01
-
-
Save afifabroory/1c180c8428815b09a2b84ef0c1279573 to your computer and use it in GitHub Desktop.
SSL Automation
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
openssl genpkey -algorithm RSA -out private_key.pem | |
openssl req -new -x509 -days 1825 -key private_key.pem -out certificate.pem -config .\self-signed-kneks.cnf |
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
[req] | |
prompt = no | |
default_md = sha256 | |
req_extensions = req_ext | |
distinguished_name = req_distinguished_name | |
[req_distinguished_name] | |
countryName = ID | |
stateOrProvinceName = Jakarta | |
localityName = Jakarta | |
organizationName = Komite Nasional Ekonomi dan Keuangan Syariah | |
commonName = *.kneks.go.id | |
emailAddress = humas@kneks.go.id | |
[req_ext] | |
subjectAltName = @alt_names | |
[alt_names] | |
DNS.1 = *.kneks.go.id | |
DNS.2 = *.kneksdev.my.id |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment