1
0
Fork 0
mirror of https://github.com/pivpn/pivpn.git synced 2024-12-29 16:22:18 +00:00

Merge pull request from IcedComputer/patch-3

Create OVPN12_Compatible file
This commit is contained in:
4s3ti 2019-10-19 11:58:03 +02:00 committed by GitHub
commit 080b335047
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -785,6 +785,9 @@ confOpenVPN() {
if [[ ${APPLY_TWO_POINT_FOUR} == false ]]; then
## creates a file to determine if the OpenVPN setup is compatible with the OVPN12 format for iOS keychain integration.
echo "true" > /etc/pivpn/OVPN12_Compatible
ENCRYPT=$(whiptail --backtitle "Setup OpenVPN" --title "RSA certificate size" --radiolist \
"Choose the desired size of your certificate (press space to select):\n This is a certificate that will be generated on your system. The larger the certificate, the more time this will take. For most applications, it is recommended to use 2048 bits. If you are testing, you can use 1024 bits to speed things up, but do not use this for normal use! If you are paranoid about ... things... then grab a cup of joe and pick 4096 bits." ${r} ${c} 3 \
"1024" "Use a 1024-bit certificate (testing only)" OFF \