Skip to content

Commit 25670f3

Browse files
committed
Update IKEv2 script
- Update client config file generation code due to a recent change on Ubuntu 20.04: The libnss3 package was recently updated to version 3.98 on Ubuntu 20.04, which requires these changes to the IKEv2 script. Ref: https://packages.ubuntu.com/focal/libnss3
1 parent 4c6f37e commit 25670f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extras/ikev2setup.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ confirm_or_abort() {
157157
show_header() {
158158
cat <<'EOF'
159159
160-
IKEv2 Script Copyright (c) 2020-2024 Lin Song 3 Feb 2024
160+
IKEv2 Script Copyright (c) 2020-2024 Lin Song 10 Apr 2024
161161
162162
EOF
163163
}
@@ -820,7 +820,7 @@ export_p12_file() {
820820
-legacy -name "$client_name" -passin "pass:$p12_password" -passout pass: || exit 1
821821
fi
822822
/bin/rm -f "$pem_file"
823-
elif [ "$os_type" = "alpine" ] || [ "$os_ver" = "kalirolling" ] || [ "$os_type$os_ver" = "ubuntu11" ]; then
823+
elif [ "$os_type" = "alpine" ] || [ "$os_ver" = "kalirolling" ] || [ "$os_ver" = "bullseyesid" ]; then
824824
pem_file="$export_dir$client_name.temp.pem"
825825
openssl pkcs12 -in "$p12_file_enc" -out "$pem_file" -passin "pass:$p12_password" -passout "pass:$p12_password" || exit 1
826826
openssl pkcs12 -keypbe PBE-SHA1-3DES -certpbe PBE-SHA1-3DES -export -in "$pem_file" -out "$p12_file_enc" \

0 commit comments

Comments
 (0)