We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 984dbf1 + 59f7f55 commit 39532bdCopy full SHA for 39532bd
createcert.cmd
@@ -1,4 +1,4 @@
1
:: Creates the cert
2
if not exist "%~dp0certificate.pem" openssl req -newkey rsa:4096 -nodes -keyout key.pem -x509 -days 365 -out certificate.pem
3
:: Save output files & pwd in keepass under TLSKEY
4
-if not exist "%~certificate.p12" openssl pkcs12 -inkey key.pem -in certificate.pem -export -out certificate.p12
+if not exist "%~dp0certificate.p12" openssl pkcs12 -inkey key.pem -in certificate.pem -export -out certificate.p12
0 commit comments