]> jfr.im git - z_archive/vpsm.git/blobdiff - devtemp/certs/build-key-pkcs12
Adding start of SSL-certificate-stuff. easy-rsa
[z_archive/vpsm.git] / devtemp / certs / build-key-pkcs12
diff --git a/devtemp/certs/build-key-pkcs12 b/devtemp/certs/build-key-pkcs12
new file mode 100755 (executable)
index 0000000..ba90e6a
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# Make a certificate/private key pair using a locally generated
+# root certificate and convert it to a PKCS #12 file including the
+# the CA certificate as well.
+
+export EASY_RSA="${EASY_RSA:-.}"
+"$EASY_RSA/pkitool" --interact --pkcs12 $*