summarylogtreecommitdiffstats
path: root/cyberghostvpn_wrapper
diff options
context:
space:
mode:
authorAndré Herbst2023-04-11 13:02:25 +0200
committerAndré Herbst2023-04-11 13:03:38 +0200
commit07772376e9713f8c760cbf8e856d2be1c62154ac (patch)
tree109b5fc6b899514d41e5918a892aa6cc7630fef8 /cyberghostvpn_wrapper
parent2c160388013115e2e2bc3444ae594fc32cb4d4b2 (diff)
downloadaur-07772376e9713f8c760cbf8e856d2be1c62154ac.tar.gz
workaround: verify wireguard certificate against manually downloaded cert chain
Diffstat (limited to 'cyberghostvpn_wrapper')
-rwxr-xr-xcyberghostvpn_wrapper4
1 files changed, 4 insertions, 0 deletions
diff --git a/cyberghostvpn_wrapper b/cyberghostvpn_wrapper
index 144c0e892646..03b74f00a85b 100755
--- a/cyberghostvpn_wrapper
+++ b/cyberghostvpn_wrapper
@@ -4,4 +4,8 @@
# to ensure that cyberghost is calling the openvpn wrapper
export PATH=/usr/local/cyberghost:$PATH
+# cyberghostvpn expects wireguard certificate to be located at '../certs/wireguard/ca.crt'
+# cd into /usr/local/cyberghostvpn/certs so that pinned certificate will be found
+cd /usr/local/cyberghost/certs
+
/usr/local/cyberghost/cyberghostvpn "$@"