I am using synology NAS as OpenVPN server.
Now I am trying to use OpenVPN Connect on android phone to connect my NAS.
I have viewed almost all posts in this forum but nothing got.
It's strange that this ovpn work fine in windows client but fails in android.
When I connect my phone to server, it shows that
OpenVPN server certification verification fail :
PolarSSL: SSL read error: X509 - Certificate verification failed,
e.g. CRL, CA or signature check failed
Does PolarSSL check cert with more restriction than OpenSSL?
If yes, how could I gen cert with openssl command?
Which parts have to notice?
Here in my .ovpn:
Code: Select all
dev tun
tls-client
remote MY_DDNS_NAME 1194
redirect-gateway
pull
proto udp
script-security 2
comp-lzo
reneg-sec 86400
auth-user-pass
setenv CLIENT_CERT 0
<ca>
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
</ca>