diff options
author | Bodo Möller <bodo@openssl.org> | 2002-09-10 07:36:52 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2002-09-10 07:36:52 +0000 |
commit | c2bbf275b2be79bcfccde4475331742e984c8e3b (patch) | |
tree | 557fe5e91987e073721f0cdd4d9bab05d40f0d81 /demos/ssltest-ecc/RSAcertgen.sh | |
parent | 9226e2187c14979352cb78886ab8f0a90b3aef46 (diff) |
1. switch from "-newkey ecdsa:..." to "-newkey ec:..."
2. automatically create required sub-directories
Submitted by: Vipul Gupta <Vipul.Gupta@sun.com>
Diffstat (limited to 'demos/ssltest-ecc/RSAcertgen.sh')
-rwxr-xr-x | demos/ssltest-ecc/RSAcertgen.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/demos/ssltest-ecc/RSAcertgen.sh b/demos/ssltest-ecc/RSAcertgen.sh index ea7984bae3..0cb0153596 100755 --- a/demos/ssltest-ecc/RSAcertgen.sh +++ b/demos/ssltest-ecc/RSAcertgen.sh @@ -19,6 +19,8 @@ COMBO_DIR=$CERTS_DIR CAT=/bin/cat # rm command RM=/bin/rm +# mkdir command +MKDIR=/bin/mkdir # The certificate will expire these many days after the issue date. DAYS=1500 TEST_CA_FILE=rsa1024TestCA @@ -37,6 +39,10 @@ TEST_CLIENT_DN="/C=US/ST=CA/L=Mountain View/O=Sun Microsystems, Inc./OU=Sun Micr # 4. [Optional] One can combine the cert and private key into a single # file and also delete the certificate request +$MKDIR -p $CERTS_DIR +$MKDIR -p $KEYS_DIR +$MKDIR -p $COMBO_DIR + echo "Generating self-signed CA certificate (RSA)" echo "===========================================" |