Asus RT-AC56U Android Client gives: Error message: X509:parse_perm:error in cert::error:0480006C:PEM routines::no start
Posted: Tue Mar 05, 2024 12:39 am
Server Config
# Follows is my .ovpn file
;Brand new to OpenVPN. My only (successful) VPN experience was WAY, WAY back when PPTP was considerable marginally acceptable...so.
;The Asus router referenced natively supports use as an OpenVPN server. I followed the advice of a couple of guides to configure the server in the router.
;1) generated the .ovpn file
;2) imported file into the Android OpenVPN client w/o any error message.
;3) hit "connect" on the Android OpenVPN client and get the following error message:
;"Error message: X509:parse_perm:error in cert::error:0480006C:PEM routines::no start line
;Reviewed the actual .ovpn file to see if I could spot obvious errors in structure. I'm not sure that the certificate is structured correctly, though I don't know what it SHOULD look like.
;I will be grateful if anyone can point me in the right direction. Thank you.
;I checked and found:
remote 75.12.34.56 1194
float
nobind
proto udp
dev tun
sndbuf 0
rcvbuf 0
keepalive 15 60
comp-lzo adaptive
auth-user-pass
client
auth SHA256
cipher AES-256-CBC
ns-cert-type server
<ca>
-----BEGIN CERTIFICATE-----
;Twenty-two (22) ROWS of 64-character A/N strings
;One (1) single, last ROW of a 40-character A/N string
;Strikes me as odd that the LAST ROW of the certificate is only 40 characters long, whereas the preceding 22 rows are each 64-characters long.
-----END CERTIFICATE-----
</ca>
<cert>
paste client certificate data here
</cert>
<key>
paste client key data here
</key>
<tls-auth>
-----BEGIN OpenVPN Static key V1-----
; Sixteen (16) ROWS of 32-character A/N strings
-----END OpenVPN Static key V1-----
</tls-auth>
key-direction 0
;Brand new to OpenVPN. My only (successful) VPN experience was WAY, WAY back when PPTP was considerable marginally acceptable...so.
;The Asus router referenced natively supports use as an OpenVPN server. I followed the advice of a couple of guides to configure the server in the router.
;1) generated the .ovpn file
;2) imported file into the Android OpenVPN client w/o any error message.
;3) hit "connect" on the Android OpenVPN client and get the following error message:
;"Error message: X509:parse_perm:error in cert::error:0480006C:PEM routines::no start line
;Reviewed the actual .ovpn file to see if I could spot obvious errors in structure. I'm not sure that the certificate is structured correctly, though I don't know what it SHOULD look like.
;I will be grateful if anyone can point me in the right direction. Thank you.
;I checked and found:
remote 75.12.34.56 1194
float
nobind
proto udp
dev tun
sndbuf 0
rcvbuf 0
keepalive 15 60
comp-lzo adaptive
auth-user-pass
client
auth SHA256
cipher AES-256-CBC
ns-cert-type server
<ca>
-----BEGIN CERTIFICATE-----
;Twenty-two (22) ROWS of 64-character A/N strings
;One (1) single, last ROW of a 40-character A/N string
;Strikes me as odd that the LAST ROW of the certificate is only 40 characters long, whereas the preceding 22 rows are each 64-characters long.
-----END CERTIFICATE-----
</ca>
<cert>
paste client certificate data here
</cert>
<key>
paste client key data here
</key>
<tls-auth>
-----BEGIN OpenVPN Static key V1-----
; Sixteen (16) ROWS of 32-character A/N strings
-----END OpenVPN Static key V1-----
</tls-auth>
key-direction 0