mirror of https://github.com/wolfSSL/wolfssl.git
Put the .rnd file in a local folder
parent
1cf2d9ece3
commit
0a2201700d
|
@ -860,20 +860,7 @@ echo ""
|
||||||
make clean
|
make clean
|
||||||
check_result $? "make clean"
|
check_result $? "make clean"
|
||||||
|
|
||||||
RANDFILE=/var/lib/jenkins/.rnd
|
touch certs/.rnd || exit 1
|
||||||
RANDFILE2=/home/jenkins/.rnd
|
|
||||||
|
|
||||||
# Test for OpenSSL .rnd file:
|
|
||||||
echo "RANDFILE = $RANDFILE"
|
|
||||||
echo "RANDFILE2 = $RANDFILE2"
|
|
||||||
if [ ! -f "$RANDFILE" ]; then
|
|
||||||
echo "We should touch $RANDFILE"
|
|
||||||
mkdir -p $(dirname $RANDFILE) && touch "$RANDFILE" || exit 1
|
|
||||||
fi
|
|
||||||
if [ ! -f "$RANDFILE2" ]; then
|
|
||||||
echo "We should touch $RANDFILE2"
|
|
||||||
mkdir -p $(dirname $RANDFILE2) && touch "$RANDFILE2" || exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
run_renewcerts
|
run_renewcerts
|
||||||
cd ../ || exit 1
|
cd ../ || exit 1
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
# wolfssl configuration file
|
# wolfssl configuration file
|
||||||
#
|
#
|
||||||
HOME = .
|
HOME = .
|
||||||
RANDFILE = $ENV::HOME/.rnd
|
|
||||||
|
|
||||||
oid_section = new_oids
|
oid_section = new_oids
|
||||||
|
|
||||||
|
@ -37,7 +36,7 @@ crlnumber = $dir/certs/crl/crlnumber # the current crl number
|
||||||
|
|
||||||
crl = $dir/certs/crl/crl.pem # The current CRL
|
crl = $dir/certs/crl/crl.pem # The current CRL
|
||||||
private_key = $dir/certs/ca-key.pem # The private key
|
private_key = $dir/certs/ca-key.pem # The private key
|
||||||
RANDFILE = $dir/certs/private/.rand # private random number file
|
RANDFILE = $dir/certs/.rnd # private random number file
|
||||||
|
|
||||||
x509_extensions = usr_cert # The extensions to add to the cert
|
x509_extensions = usr_cert # The extensions to add to the cert
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue