Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot import ovpn file #1262

Open
leviethung2103 opened this issue Nov 11, 2024 · 1 comment
Open

Cannot import ovpn file #1262

leviethung2103 opened this issue Nov 11, 2024 · 1 comment

Comments

@leviethung2103
Copy link

CleanShot 2024-11-11 at 09 01 17@2x

After install the openvpn on Armbian Linux. It created the .ovpn file successfully.

However, i cannot import the .ovpn file into the OpenVPN connect

Please suggest any solutions

@Mr0cket
Copy link

Mr0cket commented Nov 25, 2024

I believe this issue is because the command currently used to generate the TLS encryption key in the script openvpn --genkey --secret /etc/openvpn/tls-crypt.key, used here:

openvpn --genkey --secret /etc/openvpn/tls-crypt.key

is deprecated. shell logs below.

root@personal:~# openvpn --genkey --secret /etc/openvpn/tls-crypt.key
2024-11-25 00:02:03 DEPRECATED OPTION: The option --secret is deprecated.
2024-11-25 00:02:03 WARNING: Using --genkey --secret filename is DEPRECATED.  Use --genkey secret filename instead.

Fix is to update the offending lines in the script to use the new syntax for the command.

openvpn --genkey secret /etc/openvpn/tls-crypt.key

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants