1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 22:23:51 +00:00
openmw-tes3mp/files/tes3mp/master/cert/genCert.sh

9 lines
461 B
Bash
Executable file

openssl genrsa -des3 -out master.des3.key 4096
openssl rsa -in master.des3.key -out master.key
openssl req -new -key master.key -out master.csr -reqexts SAN -config master.conf
openssl x509 -req -days 365 -in master.csr -CA rootCA.crt -CAkey rootCA.key -CAcreateserial -out master.crt -extensions SAN -extfile master.conf
openssl pkcs12 -export -clcerts -in master.crt -inkey master.key -out master.p12
openssl pkcs12 -in master.p12 -out master.pem -clcerts