Merge pull request #541 from pivpn/test

Merge test branch into master
This commit is contained in:
redfast00 2018-05-29 22:38:46 +02:00 committed by GitHub
commit b7c28af844
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -121,11 +121,11 @@ function keyPASS() {
expect eof
EOF
#Convert key to des3
#Convert key to aes128
KEY_FILE="pki/private/${NAME}${KEY}"
expect << EOF
set timeout -1
spawn openssl rsa -in ${KEY_FILE} -des3 -out ${KEY_FILE}
spawn openssl rsa -in ${KEY_FILE} -aes128 -out ${KEY_FILE}
expect "Enter pass phrase" { send "${PASSWD}\r" }
expect "Enter PEM pass phrase" { send "${PASSWD}\r" }
expect "Verifying - Enter PEM pass phrase" { send "${PASSWD}\r" }

View file

@ -17,7 +17,7 @@ push "block-outside-dns"
# overriding but not wiping out the original default gateway.
push "redirect-gateway def1"
client-to-client
keepalive 10 120
keepalive 1800 3600
remote-cert-tls client
tls-version-min 1.2
tls-auth /etc/openvpn/easy-rsa/pki/ta.key 0