PolarSSL: error parsing ca certificate : X509
Posted: Mon Apr 03, 2017 5:19 pm
I am getting this error message when I want to connect to my vpn server from my iPhone:
EVENT: CORE_error PolarSSL: error parsing ca certificate : X509 - The CRT/CRL/CSR format is invalid, e.g. different type expected [ERR]
I followed this guide https://www.brainfart.sg/index.php/2012 ... pn-config/ and I have embedded the CA/CRT/ and key files in the .ovpn file. Unfortunately I am unable to pass this error
This is my config;
EVENT: CORE_error PolarSSL: error parsing ca certificate : X509 - The CRT/CRL/CSR format is invalid, e.g. different type expected [ERR]
I followed this guide https://www.brainfart.sg/index.php/2012 ... pn-config/ and I have embedded the CA/CRT/ and key files in the .ovpn file. Unfortunately I am unable to pass this error
This is my config;
CleintConfig
client
dev tun
proto udp
remote DDNSname 443
comp-lzo
redirect-gateway
nobind
persist-key
persist-tun
user nobody
group nogroup
resolv-retry infinite
<ca>
-----BEGIN CERTIFICATE-----
-ca file **
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
client certificate ***
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
client key ***
-----END PRIVATE KEY-----
</key>
dev tun
proto udp
remote DDNSname 443
comp-lzo
redirect-gateway
nobind
persist-key
persist-tun
user nobody
group nogroup
resolv-retry infinite
<ca>
-----BEGIN CERTIFICATE-----
-ca file **
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
client certificate ***
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
client key ***
-----END PRIVATE KEY-----
</key>