mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-18 19:00:15 +00:00
Create OVPN12_capable file
MakeOVPN has been updated to include the -i iOS function to allow users to create an OVPN12 format file that can be used with the iOS keychain. Since the OVPN12 format is incompatible with OpenVPN 2.4 - this change creates a configuration file that determines if the user can create a -i request via MakeOVPN.
This commit is contained in:
parent
d0c10db6ec
commit
fa21666869
1 changed files with 4 additions and 1 deletions
|
@ -787,6 +787,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 \
|
||||
|
|
Loading…
Reference in a new issue