OpenVPN for Android client: Error: endtag <//ca> missing

Need help configuring your VPN? Just post here and you'll get that help.
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
OpenVpn Newbie
Posts: 6
Joined: Sat Nov 18, 2017 5:07 pm

OpenVPN for Android client: Error: endtag <//ca> missing

Post by timg11 » Sat Aug 25, 2018 11:50 pm

I have an OpenVPN server on a Raspberry Pi following this guide.

I have four Android Clients using OpenVPN for Android. Two are able to connect to the server, and two do not.

The ones that fail get to the point of entering the private key password, then fail with these messages:

Code: Select all

	Error: endtag <//ca> missing
	Exiting due to fatal error
	Process exited with exit value 1
All four clients were configured by importing .ovpn files generated by the Pi server.

I have inspected the generated configurations, and they all have </ca> tags after the certificate. The configurations look similar between working and nonworking. The cert and key data is identical from comparing the first characters. The ones that fail seem to repeat some of the certificate and key blocks.

Details on the Clients and versions of Android and OVPN client software:

Working Configurations
Samsung Note 4 Phone Andriod 5.1.1 (OpenVPN for Android 0.7.5)

Samsung Galaxy S4 Android 4.4.4 (OpenVPN for Android

Non Working Configurations
Galaxy Tab S2 Tablet (Android 7.0) (OpenVPN for Android 0.7.5)

Google Nexus 10 Tablet (Android 4.4.4) ( OpenVPN for Android 0.7.5)

OpenVpn Newbie
Posts: 1
Joined: Wed Oct 06, 2021 7:18 am

Re: OpenVPN for Android client: Error: endtag <//ca> missing

Post by romanf » Wed Oct 06, 2021 7:19 am

I'm facing the same problem. Did anyone find a solution for this problem?

OpenVpn Newbie
Posts: 1
Joined: Sun Oct 24, 2021 9:49 am

Re: OpenVPN for Android client: Error: endtag <//ca> missing

Post by hakselnorth » Sun Oct 24, 2021 9:53 am

Same problem here, Tag-structure in certificate is correct. Perhaps I am missing a Certificate in my Windows 10 computer?
Older certificates generated by the RasPi are still working fine in windows

Post Reply