diff options
Diffstat (limited to 'net-im/jabberd/files/self-cert.sh')
-rw-r--r-- | net-im/jabberd/files/self-cert.sh | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/net-im/jabberd/files/self-cert.sh b/net-im/jabberd/files/self-cert.sh deleted file mode 100644 index 9c1e339052c3..000000000000 --- a/net-im/jabberd/files/self-cert.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash - -###### -# -# Generate a certificate and key with no passphrase. -# -###### - -OPENSSL=/usr/bin/openssl - -## This generates the cert and key -$OPENSSL req -new -x509 -newkey rsa:1024 -keyout /tmp/privkey.pem -out /etc/jabber/gentoo.pem -## This will remove the passphrase -$OPENSSL rsa -in /tmp/privkey.pem -out /tmp/privkey.pem -## Put it all together -cat /tmp/privkey.pem >> /etc/jabber/gentoo.pem -## Cleanup -rm /tmp/privkey.pem -echo "" -echo "Your new key is /etc/jabber/gentoo.pem" -echo "" |