Im currently trying to setup an OpenVPN Client on my Raspberry Pi.I keep on getting some error messages related to TLS.
The syslog gives me this:
Nov 23 08:34:56 raspberrypi ovpn-ersterclient[1370]: disabling NCP mode (-- ncp-disable) because not in P2MP client or server modeNov 23 08:34:56 raspberrypi ovpn-ersterclient[1370]: Options error: Parameter ca_file can only be specified in TLS-mode, i.e. where --tls-server or --tls-client is also specified.Nov 23 08:34:56 raspberrypi ovpn-ersterclient[1370]: Use --help for more information.Nov 23 08:34:56 raspberrypi systemd[1]: openvpn@ersterclient.service: Control process exited, code=exited status=1Nov 23 08:34:56 raspberrypi systemd[1]: Failed to start OpenVPN connection to ersterclient.Nov 23 08:34:56 raspberrypi systemd[1]: openvpn@ersterclient.service: Unit entered failed state.Nov 23 08:34:56 raspberrypi systemd[1]: openvpn@ersterclient.service: Failed with result 'exit-code'.
And my .conf looks like this:
dev tunproto udpremote IP 1194resolv-retry infinitenobindpersist-keypersist-tuncipher AES-128-CBCauth SHA1comp-lzoverb 3<ca>-----BEGIN CERTIFICATE-----CERT-----END CERTIFICATE-----</ca><cert>-----BEGIN CERTIFICATE-----CERT-----END CERTIFICATE-----</cert><key>-----BEGIN CERTIFICATE-----CERT-----END PRIVATE KEY-----</key>