projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PKCS#8 support for alternative PRFs.
[openssl.git]
/
demos
/
ssltest-ecc
/
RSAcertgen.sh
diff --git
a/demos/ssltest-ecc/RSAcertgen.sh
b/demos/ssltest-ecc/RSAcertgen.sh
index ea7984bae3a396bdf9ebda194fbfb35a0a676b40..0cb015359634ca65126e308b2272d6ded49878df 100755
(executable)
--- 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
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
# 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
# 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 "==========================================="
echo "Generating self-signed CA certificate (RSA)"
echo "==========================================="