Update scripts to use "openssl" instead of "ssleay"
This commit is contained in:
parent
c9f06e7f9f
commit
c142bdf725
10
apps/CA.pl
10
apps/CA.pl
@ -33,14 +33,14 @@
|
|||||||
# Steve Henson
|
# Steve Henson
|
||||||
# shenson@bigfoot.com
|
# shenson@bigfoot.com
|
||||||
|
|
||||||
# default ssleay.cnf file has setup as per the following
|
# default openssl.cnf file has setup as per the following
|
||||||
# demoCA ... where everything is stored
|
# demoCA ... where everything is stored
|
||||||
|
|
||||||
$DAYS="-days 365";
|
$DAYS="-days 365";
|
||||||
$REQ="ssleay req $SSLEAY_CONFIG";
|
$REQ="openssl req $SSLEAY_CONFIG";
|
||||||
$CA="ssleay ca $SSLEAY_CONFIG";
|
$CA="openssl ca $SSLEAY_CONFIG";
|
||||||
$VERIFY="ssleay verify";
|
$VERIFY="openssl verify";
|
||||||
$X509="ssleay x509";
|
$X509="openssl x509";
|
||||||
|
|
||||||
$CATOP="./demoCA";
|
$CATOP="./demoCA";
|
||||||
$CAKEY="cakey.pem";
|
$CAKEY="cakey.pem";
|
||||||
|
10
apps/CA.sh
10
apps/CA.sh
@ -27,14 +27,14 @@
|
|||||||
# tjh@cryptsoft.com
|
# tjh@cryptsoft.com
|
||||||
#
|
#
|
||||||
|
|
||||||
# default ssleay.cnf file has setup as per the following
|
# default openssl.cnf file has setup as per the following
|
||||||
# demoCA ... where everything is stored
|
# demoCA ... where everything is stored
|
||||||
|
|
||||||
DAYS="-days 365"
|
DAYS="-days 365"
|
||||||
REQ="ssleay req $SSLEAY_CONFIG"
|
REQ="openssl req $SSLEAY_CONFIG"
|
||||||
CA="ssleay ca $SSLEAY_CONFIG"
|
CA="openssl ca $SSLEAY_CONFIG"
|
||||||
VERIFY="ssleay verify"
|
VERIFY="openssl verify"
|
||||||
X509="ssleay x509"
|
X509="openssl x509"
|
||||||
|
|
||||||
CATOP=./demoCA
|
CATOP=./demoCA
|
||||||
CAKEY=./cakey.pem
|
CAKEY=./cakey.pem
|
||||||
|
@ -42,13 +42,13 @@ $md4_cmd="md4";
|
|||||||
$rsa_cmd="rsa -des -inform der ";
|
$rsa_cmd="rsa -des -inform der ";
|
||||||
|
|
||||||
# this was the 0.5.x way of doing things ...
|
# this was the 0.5.x way of doing things ...
|
||||||
$cmd="ssleay asn1parse";
|
$cmd="openssl asn1parse";
|
||||||
$x509_cmd="ssleay x509";
|
$x509_cmd="openssl x509";
|
||||||
$crl_cmd="ssleay crl";
|
$crl_cmd="openssl crl";
|
||||||
$rc4_cmd="ssleay rc4";
|
$rc4_cmd="openssl rc4";
|
||||||
$md2_cmd="ssleay md2";
|
$md2_cmd="openssl md2";
|
||||||
$md4_cmd="ssleay md4";
|
$md4_cmd="openssl md4";
|
||||||
$rsa_cmd="ssleay rsa -des -inform der ";
|
$rsa_cmd="openssl rsa -des -inform der ";
|
||||||
|
|
||||||
&Getopts('vd:') || die "usage:$0 [-v] [-d num] file";
|
&Getopts('vd:') || die "usage:$0 [-v] [-d num] file";
|
||||||
$depth=($opt_d =~ /^\d+$/)?$opt_d:0;
|
$depth=($opt_d =~ /^\d+$/)?$opt_d:0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user