After recent upgrade to F38 I noticed I can’t connect to my custom VPN server running on a router.
The VPN server still works fine, I was still able to connect to it using other systems, but F38 gives me this error.
[phalkon@aerie ~]$ sudo openvpn --config vpn.ovpn
2023-10-01 09:35:11 WARNING: Compression for receiving enabled. Compression has been used in the past to break encryption. Sent packets are not compressed unless "allow-compression yes" is also set.
2023-10-01 09:35:11 DEPRECATED OPTION: --cipher set to 'AES-128-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM:CHACHA20-POLY1305). OpenVPN ignores --cipher for cipher negotiations.
2023-10-01 09:35:11 OpenVPN 2.6.6 x86_64-redhat-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] [DCO]
2023-10-01 09:35:11 library versions: OpenSSL 3.0.9 30 May 2023, LZO 2.10
2023-10-01 09:35:11 DCO version: N/A
2023-10-01 09:35:11 OpenSSL: error:0A00018F:SSL routines::ee key too small:
2023-10-01 09:35:11 Cannot load inline certificate file
2023-10-01 09:35:11 Exiting due to fatal error
I noticed the warning about cipher being missing from --data-ciphers so I added it in, but the issue remains.
[phalkon@aerie ~]$ sudo openvpn --data-ciphers AES-128-CBC --config vpn.ovpn
2023-10-01 09:35:54 WARNING: Compression for receiving enabled. Compression has been used in the past to break encryption. Sent packets are not compressed unless "allow-compression yes" is also set.
2023-10-01 09:35:54 OpenVPN 2.6.6 x86_64-redhat-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] [DCO]
2023-10-01 09:35:54 library versions: OpenSSL 3.0.9 30 May 2023, LZO 2.10
2023-10-01 09:35:54 DCO version: N/A
2023-10-01 09:35:54 OpenSSL: error:0A00018F:SSL routines::ee key too small:
2023-10-01 09:35:54 Cannot load inline certificate file
2023-10-01 09:35:54 Exiting due to fatal error
Here’s vpn config file (without the keys and IP addresses).
client
dev tun
proto udp
float
nobind
cipher AES-128-CBC
comp-lzo adaptive
resolv-retry infinite
remote-cert-tls server
persist-key
persist-tun
remote xxx.xxx.xxx.xxx 1194
<ca>
-----BEGIN CERTIFICATE-----
x
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
x
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
x
-----END PRIVATE KEY-----
</key>