I am new to OpenVPN on VYOS, please bear with me
I am trying to setup OpenVPN client with PIA but facing following issue and not sure how to get around it. Please help to get this going.
My VYOS Version is VyOS 1.4-rolling-202205280723
Thanks @zsdc
Since I have two files from PIA ca.rsa.2048.crt and crl.rsa.2048.pem
When I look at set pki commands, all it is asking for pem format files only. Do you know which file goes where??
However, the tunnel fails to come up stating following error in the log
Jun 02 22:43:45 systemd[1]: Started OpenVPN connection to vtun101.
Jun 02 22:43:45 openvpn-vtun101[76309]: DEPRECATED OPTION: --cipher set to 'AES-128-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-128-CBC' to --data-ciphers or change --cipher 'AES-128-CBC' to --data-ciphers-fallback 'AES-128-CBC' to silence this warning.
Jun 02 22:43:45 openvpn-vtun101[76309]: OpenVPN 2.5.1 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on May 14 2021
Jun 02 22:43:45 openvpn-vtun101[76309]: library versions: OpenSSL 1.1.1n 15 Mar 2022, LZO 2.10
Jun 02 22:43:45 openvpn-vtun101[76309]: Non-Hex character ('M') found at line 2 in key file '[[INLINE]]' (0/128/256 bytes found/min/max)
Jun 02 22:43:45 openvpn-vtun101[76309]: Exiting due to fatal error
Jun 02 22:43:45 systemd[1]: [email protected]: Main process exited, code=exited, status=1/FAILURE
Jun 02 22:43:45 systemd[1]: [email protected]: Failed with result 'exit-code'.
It says “Non-Hex character (‘M’) found at line 2 in key file”. I have pasted this twice and this get the same error. I am not sure how to get this sorted