summaryrefslogtreecommitdiffstats
path: root/tools/gnutls/cert-gen-selfsigned
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gnutls/cert-gen-selfsigned')
-rwxr-xr-xtools/gnutls/cert-gen-selfsigned3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/gnutls/cert-gen-selfsigned b/tools/gnutls/cert-gen-selfsigned
new file mode 100755
index 00000000..84e6e6d6
--- /dev/null
+++ b/tools/gnutls/cert-gen-selfsigned
@@ -0,0 +1,3 @@
+#/bin/sh
+certtool --generate-privkey --outfile $1-key.pem
+certtool --generate-self-signed --load-privkey $1-key.pem --outfile $1-cert.pem