openssl.cnf workaround fix
This commit is contained in:
parent
dd9103e37c
commit
f4dd24b065
@ -40,10 +40,6 @@ echo
|
|||||||
echo "Configuring DNS parameters..."
|
echo "Configuring DNS parameters..."
|
||||||
$DIR/dns.sh
|
$DIR/dns.sh
|
||||||
|
|
||||||
# workaround: Debian's openssl version is not compatible with easy-rsa
|
|
||||||
# using openssl-1.0.0.cnf if openssl.cnf not exists
|
|
||||||
cp -n /etc/openvpn/easy-rsa/openssl-1.0.0.cnf /etc/openvpn/easy-rsa/openssl.cnf
|
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "Creating server keys..."
|
echo "Creating server keys..."
|
||||||
if [ "$PLATFORM" == "$CENTOSPLATFORM" ]; then
|
if [ "$PLATFORM" == "$CENTOSPLATFORM" ]; then
|
||||||
@ -53,6 +49,11 @@ fi
|
|||||||
if [ "$PLATFORM" == "$DEBIANPLATFORM" ]; then
|
if [ "$PLATFORM" == "$DEBIANPLATFORM" ]; then
|
||||||
make-cadir $CADIR
|
make-cadir $CADIR
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# workaround: Debian's openssl version is not compatible with easy-rsa
|
||||||
|
# using openssl-1.0.0.cnf if openssl.cnf not exists
|
||||||
|
cp -n /etc/openvpn/easy-rsa/openssl-1.0.0.cnf /etc/openvpn/easy-rsa/openssl.cnf
|
||||||
|
|
||||||
cd $CADIR
|
cd $CADIR
|
||||||
source ./vars
|
source ./vars
|
||||||
./clean-all
|
./clean-all
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user