Yes, I tries al lot of things, but there has not been any real success.
It looks like there is (at least) an issue with the client key file, which appears as follows:
If I upload the Client-Key as it is in the original ovpn-file, I get immediately an error message when I press SAVE&APPLY → Failes to edit configuration
The header and footer look as follows:
-----BEGIN ENCRYPTED PRIVATE KEY-----
******** Data removed ********
-----END ENCRYPTED PRIVATE KEY-----
When I remove the word ENCRYPTED from header and footer, I can SAVE&APPLY the configuration without error message, but the VPN still refuses to work.
The log showa the following:
Mon Aug 21 15:54:30 2023 daemon.warn openvpn(Bodmeli)[20861]: DEPRECATED OPTION: --cipher set to ‘AES-256-CBC’ but missing in --data-ciphers (BF-CBC). Future OpenVPN version will ignore --cipher for cipher negotiations. Add ‘AES-256-CBC’ to --data-ciphers or change --cipher ‘AES-256-CBC’ to --data-ciphers-fallback ‘AES-256-CBC’ to silence this warning.
Mon Aug 21 15:54:30 2023 daemon.notice openvpn(Bodmeli)[20861]: OpenVPN 2.5.3 mipsel-openwrt-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD]
Mon Aug 21 15:54:30 2023 daemon.notice openvpn(Bodmeli)[20861]: library versions: OpenSSL 1.1.1t 7 Feb 2023, LZO 2.10
Mon Aug 21 15:54:30 2023 daemon.warn openvpn(Bodmeli)[20861]: WARNING: No server certificate verification method has been enabled. See XXX for more info.
Mon Aug 21 15:54:30 2023 daemon.warn openvpn(Bodmeli)[20861]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Mon Aug 21 15:54:30 2023 daemon.warn openvpn(Bodmeli)[20861]: OpenSSL: error:0D0680A8:lib(13):func(104):reason(168)
Mon Aug 21 15:54:30 2023 daemon.warn openvpn(Bodmeli)[20861]: OpenSSL: error:0D06C03A:lib(13):func(108):reason(58)
Mon Aug 21 15:54:30 2023 daemon.warn openvpn(Bodmeli)[20861]: OpenSSL: error:0D08303A:lib(13):func(131):reason(58)
Mon Aug 21 15:54:30 2023 daemon.warn openvpn(Bodmeli)[20861]: OpenSSL: error:0907B00D:lib(9):func(123):reason(13)
Mon Aug 21 15:54:30 2023 daemon.warn openvpn(Bodmeli)[20861]: Cannot load private key file /etc/vuci-uploads/cbid.openvpn.Bodmeli.keyBodmeli.key
Mon Aug 21 15:54:30 2023 daemon.err openvpn(Bodmeli)[20861]: Error: private key password verification failed
Mon Aug 21 15:54:30 2023 daemon.notice openvpn(Bodmeli)[20861]: Exiting due to fatal error
Mon Aug 21 15:54:30 2023 daemon.info procd: Instance openvpn::Bodmeli s in a crash loop 6 crashes, 1 seconds since last crash
root@RUT956:~#
For some reason it says Cannot load private key file /etc/vuci-uploads/cbid.openvpn.Bodmeli.keyBodmeli.key, but the file esists and it has the right content.
I don’t know what to try next …
By the way 1: To edit the files I used Notepad++, so there shouldn’t any additional characters be addes.
By the way 2: The original ovpn-file works perfectly fine with the OpenVPN client for Windows
By the way 3: Because this thread has been automatically closed, I opened a new one: OpenVPN-Client on RUT956 - Error Message
Best regards
Fritz