From bc0c4a85c14b2d7cb05a74328739f997a1f70da4 Mon Sep 17 00:00:00 2001 From: cvsd <> Date: Thu, 13 Feb 2003 21:44:43 +0000 Subject: Removed signing by anon-CA. Script will not generate self-signed cert file any longer. Added some user hints. cryx --- vchat-keygen | 106 +++++------------------------------------------------------ 1 file changed, 8 insertions(+), 98 deletions(-) diff --git a/vchat-keygen b/vchat-keygen index 08c3b6e..fa92c60 100755 --- a/vchat-keygen +++ b/vchat-keygen @@ -2,7 +2,10 @@ # # vchat-client - alpha version -# vchat-keygen - generate keypair for SSL with anon CA +# vchat-keygen - generate certificate signing request for sending to +# vchat@vchat.berlin.ccc.de +# +# changed by cryx # # Copyright (C) 2001 Andreas Kotes # @@ -32,96 +35,6 @@ else fi # no certificate? dump anonymous CA to disk. -if [ ! -e $KEYBASE.cert ]; then - if [ ! -e $KEYBASE.ca.key ]; then - echo "vchat-keygen: saving CA key to $KEYBASE.ca.key" - cat >$KEYBASE.ca.key <$KEYBASE.ca.crt <$KEYBASE.ca.conf <$KEYBASE.ca.db.index - echo 00 >$KEYBASE.ca.db.serial - fi if [ ! -e $KEYBASE.csr ]; then if [ ! -e $KEYBASE.ca.keyconf ]; then echo "vchat-keygen: generating config-file for self-signing $KEYBASE.ca.keyconf" @@ -143,14 +56,11 @@ basicConstraints = critical,CA:false EOT fi echo "vchat-keygen: generating Certificate Signing Request $KEYBASE.csr" + echo "vchat-keygen: please enter your nickname at the 'Name []:' prompt" openssl req -new -config $KEYBASE.ca.keyconf -key $KEYBASE.key -out $KEYBASE.csr + echo "vchat-keygen: send this ($KEYBASE.csr) Certificate Signing Request to + vchat@vchat.berlin.ccc.de to get it signed by the vchat-CA. You will + receive your signed Certificate shortly." else echo "vchat-keygen: Certificate Signing Request $KEYBASE.csr exists" fi - echo "vchat-keygen: signing certificate $KEYBASE.cert" - openssl ca -batch -config $KEYBASE.ca.conf -out $KEYBASE.cert -in $KEYBASE.csr - rm /tmp/00.pem $KEYBASE.ca.* - echo -else - echo "vchat-keygen: certificate $KEYBASE.cert exists" -fi -- cgit v1.2.3