OpenVPN Connect iOS 1.0.5 broken: Cert verify fails

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
sophitus
OpenVpn Newbie
Posts: 7
Joined: Mon Jun 02, 2014 9:32 am

OpenVPN Connect iOS 1.0.5 broken: Cert verify fails

Post by sophitus » Tue Sep 16, 2014 8:06 pm

I cannot login anymore using my iOS devices with version 1.0.5.
Server Certificate verification fails with new PolarSSL version!

Same problem applies to current Android version.

However everything works fine with versions that use previous PolarSSL version.

I can also connect with TunnelBlick without any problems.

I use ovpn files with inline certs and keys.

Will there be a fix?

Flubber
OpenVpn Newbie
Posts: 7
Joined: Wed Sep 17, 2014 9:49 am

Re: OpenVPN Connect iOS 1.0.5 broken: Cert verify fails

Post by Flubber » Wed Sep 17, 2014 9:51 am

HI, same problem, I resolved re-importing trough iTunes in one folder: ca.crt crl.pem and .ovpn file.
Now all work great

sophitus
OpenVpn Newbie
Posts: 7
Joined: Mon Jun 02, 2014 9:32 am

Re: OpenVPN Connect iOS 1.0.5 broken: Cert verify fails

Post by sophitus » Thu Sep 18, 2014 7:57 pm

Did you leave the other certs inline in ovpn file?

Anyway it is a blocker bug and the devs just ignore it. They upgraded PolarSSL quite some time ago an Android and did nothing to fix it....

Flubber
OpenVpn Newbie
Posts: 7
Joined: Wed Sep 17, 2014 9:49 am

Re: OpenVPN Connect iOS 1.0.5 broken: Cert verify fails

Post by Flubber » Fri Sep 19, 2014 7:36 am

I deleted all and added all again.

But now the problem is another, in my iPad air wifi with iOS 8 vpn randomly disconnects!! It's unacceptable!

Maybe a notification from the app when it disconnect will be more acceptable!

Rider
OpenVpn Newbie
Posts: 8
Joined: Fri Sep 19, 2014 4:09 am

Re: OpenVPN Connect iOS 1.0.5 broken: Cert verify fails

Post by Rider » Fri Sep 19, 2014 6:26 pm

Flubber wrote:I deleted all and added all again.

But now the problem is another, in my iPad air wifi with iOS 8 vpn randomly disconnects!! It's unacceptable!

Maybe a notification from the app when it disconnect will be more acceptable!
Yes, it is a iOS8 bug. Indeed unacceptable.

sophitus
OpenVpn Newbie
Posts: 7
Joined: Mon Jun 02, 2014 9:32 am

Re: OpenVPN Connect iOS 1.0.5 broken: Cert verify fails

Post by sophitus » Sat Sep 20, 2014 6:44 pm

Even when I remove inline certs and keys and provide them as external files I get cert fails with version 1.0.5 but with 1.0.4 both profiles work with no problems.

Why is there no dev replying?

You should revert to previous SSL library of fix the issues with the current one

User avatar
jamesyonan
OpenVPN Inc.
Posts: 169
Joined: Thu Jan 24, 2013 12:13 am

Re: OpenVPN Connect iOS 1.0.5 broken: Cert verify fails

Post by jamesyonan » Sun Sep 21, 2014 1:49 am

What is the actual error message you are seeing?

Can you provide more details, such as a cert chain that succeeds with 1.0.4 but fails with 1.0.5?

James

sophitus
OpenVpn Newbie
Posts: 7
Joined: Mon Jun 02, 2014 9:32 am

Re: OpenVPN Connect iOS 1.0.5 broken: Cert verify fails

Post by sophitus » Sun Sep 21, 2014 8:28 am

jamesyonan wrote:What is the actual error message you are seeing?

Can you provide more details, such as a cert chain that succeeds with 1.0.4 but fails with 1.0.5?

James

Here is the log:

Code: Select all

2014-09-21 10:06:01 ----- OpenVPN Start -----
OpenVPN core 3.0 ios arm64 64-bit
2014-09-21 10:06:01 UNUSED OPTIONS
6 [resolv-retry] [infinite] 
7 [nobind] 
8 [persist-key] 
9 [persist-tun] 
13 [verb] [3] 

2014-09-21 10:06:01 LZO-ASYM init swap=0 asym=0
2014-09-21 10:06:01 EVENT: RESOLVE
2014-09-21 10:06:03 Contacting xx.xx.xx.xx:1194 via UDP
2014-09-21 10:06:03 EVENT: WAIT
2014-09-21 10:06:03 SetTunnelSocket returned 0
2014-09-21 10:06:03 Connecting to yy.yy.yy:1194 (xx.xx.xx.xx) via UDPv4
2014-09-21 10:06:04 EVENT: CONNECTING
2014-09-21 10:06:04 Tunnel Options:V4,dev-type tun,link-mtu 1558,tun-mtu 1500,proto UDPv4,comp-lzo,cipher AES-256-CBC,auth SHA1,keysize 256,tls-auth,key-method 2,tls-client
2014-09-21 10:06:04 Peer Info:
IV_GUI_VER=net.openvpn.connect.ios 1.0.5-177
IV_VER=3.0
IV_PLAT=ios
IV_NCP=1
IV_LZO=1

2014-09-21 10:06:17 VERIFY FAIL CERT_NOT_TRUSTED : depth=0
cert. version    : 3
serial number    : 53:B3:00:5B
issuer name      : CN=xxx
subject name      : CN=xx.xx.xx
issued  on        : 2014-07-01 18:43:58
expires on        : 2047-07-01 18:43:58
signed using      : RSA with SHA-512
RSA key size      : 4096 bits
subject alt name  : yy.yy.yy
cert. type        : SSL Server

2014-09-21 10:06:17 Transport Error: PolarSSL: SSL read error : X509 - Certificate verification failed, e.g. CRL, CA or signature check failed
2014-09-21 10:06:17 EVENT: CERT_VERIFY_FAIL PolarSSL: SSL read error : X509 - Certificate verification failed, e.g. CRL, CA or signature check failed [ERR]
2014-09-21 10:06:17 EVENT: DISCONNECTED
2014-09-21 10:06:17 Raw stats on disconnect:
  BYTES_IN : 3808
  BYTES_OUT : 1968
  PACKETS_IN : 28
  PACKETS_OUT : 33
  SSL_ERROR : 1
  CERT_VERIFY_FAIL : 1
2014-09-21 10:06:17 Performance stats on disconnect:
  CPU usage (microseconds): 31227
  Network bytes per CPU second: 184968
  Tunnel bytes per CPU second: 0
2014-09-21 10:06:17 EVENT: DISCONNECT_PENDING
2014-09-21 10:06:17 ----- OpenVPN Stop -----

User avatar
jamesyonan
OpenVPN Inc.
Posts: 169
Joined: Thu Jan 24, 2013 12:13 am

Re: OpenVPN Connect iOS 1.0.5 broken: Cert verify fails

Post by jamesyonan » Sun Sep 21, 2014 8:36 pm

I wouldn't be able to diagnose an issue like this unless I have the actual certs that are failing to verify.

This includes the server-side certs ("ca" and "cert" directives in server-side OpenVPN config file) and "ca" directive in client-side OpenVPN config.

James

User avatar
jamesyonan
OpenVPN Inc.
Posts: 169
Joined: Thu Jan 24, 2013 12:13 am

Re: OpenVPN Connect iOS 1.0.5 broken: Cert verify fails

Post by jamesyonan » Sun Sep 21, 2014 11:51 pm

I would also point out that while certs are generally safe to post publicly, feel free to PM me or email them to ios@openvpn.net.

James

sophitus
OpenVpn Newbie
Posts: 7
Joined: Mon Jun 02, 2014 9:32 am

Re: OpenVPN Connect iOS 1.0.5 broken: Cert verify fails

Post by sophitus » Mon Sep 22, 2014 9:34 pm

jamesyonan wrote:I would also point out that while certs are generally safe to post publicly, feel free to PM me or email them to ios@openvpn.net.

James
I just sent the requested certs to ios@openvpn.net

Thanks for analyzing the issue....

300000
OpenVPN Expert
Posts: 685
Joined: Tue May 01, 2012 9:30 pm

Re: OpenVPN Connect iOS 1.0.5 broken: Cert verify fails

Post by 300000 » Tue Sep 23, 2014 1:06 am

openvpn connec works perfect and nothing wrong with ios8 , just because something is wrong in your conf so it does not connect as it should , i set up test server so you can try my server to see if it can conect or not .

the server is run on htc chacha android phone so it has nothing on that just let you people connec to test ,

you only copy this text and paste to new test openvpn and email to your mail box and try it.

Code: Select all



remote www.thuctap.co.uk 900
tls-cipher   TLS-DHE-RSA-WITH-AES-256-CBC-SHA
client
mute-replay-warnings
dev tun
proto tcp-client
ns-cert-type  server
remote-cert-tls server
remote-cert-eku "TLS Web Server Authentication"
pull
comp-noadapt 
comp-lzo yes
resolv-retry infinite
nobind 
key-direction 1
cipher BF-CBC # CBC 
persist-key
persist-tun
mute-replay-warnings
verb 3
script-security 3
reneg-sec 5900
auth SHA1
tcp-queue-limit 295536
bcast-buffers 295536
<ca>
-----BEGIN CERTIFICATE-----
MIIGKTCCBBGgAwIBAgIBATANBgkqhkiG9w0BAQUFADCBvTELMAkGA1UEBhMCVk4x
FjAUBgNVBAgMDU1p4buBbiBi4bqvYyAxIzAhBgNVBAcMGlRow6BuaCBwaOG7kSBI
4bqjaSBQaMOybmcgMRowGAYDVQQKDBFQaMOybmcga2luaCBkb2FuaDEaMBgGA1UE
CwwRUGjDsm5nIGtpbmggZG9hbmgxEjAQBgNVBAMTCU9wZW5WcG5DQTElMCMGCSqG
SIb3DQEJARYWdHVhbl90cnVuZzk2QHlhaG9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bfedccbfe3277479fd42d
f25cf35328c37b26e9a7da655468dff3
035ae7684b5cecf6cfb322065f69746d
f414a6ee6f60f7d223b791eb4be062d9
9ed3c9a41a61470b30f194359da1e919
e6d6ec49d3af31301c3a542ddc097a8a
dedc9c93ea88cbd6bedc1b59c3a023c3
d3889e40f75bbe27bf1d689a16b2227a
2e1beedf9406e4b420725bd7cfca26ef
6b6604f7fd1b1ca41b8b9f3c22e5aef2
ceb19ab5018b9ebe29cffb22d7e1b1f0
36de56f9677e89ac7e59a087f8b2ee91
83c0586e56f691b71467bf4de5afe274
50e10b7b69a80af898c801362e1241dd
c2bbb122f8f5d0d90dde541c5cfcee70
24235c19761e1064bb208cecdbe2e35a
-----END OpenVPN Static key V1-----
</tls-auth>


jmacres
OpenVpn Newbie
Posts: 1
Joined: Tue Sep 23, 2014 3:37 pm

Re: OpenVPN Connect iOS 1.0.5 broken: Cert verify fails

Post by jmacres » Tue Sep 23, 2014 3:40 pm

I'm getting the same errors described in this thread.

I did try re-installing the app and the related files via iTunes. Same error.

iOS 8 and OpenVPN 1.0.5

Any updates from the OpenVPN development community on this?

SSL Read Error X509.

Is there any easy way to revert back to 1.04?

Jason

sophitus
OpenVpn Newbie
Posts: 7
Joined: Mon Jun 02, 2014 9:32 am

Re: OpenVPN Connect iOS 1.0.5 broken: Cert verify fails

Post by sophitus » Wed Sep 24, 2014 10:06 pm

Solved....

I got a hint from OpenVPN support that my CA cert was missing the "CA basic constraints". I added that constraint to my CA certificate and OpenVPN Connect V1.0.5 accepted my CA certificate.

Somehow the new PolarSSL library used in OpenVPN connect 1.0.5 all of a sudden requires this "CA basic constraint" to be set in the CA certificate, where as other OpenVPN client do not require that, and even the 1.0.4 version of OpenVPN connect did not.
Nice backward compatibility for an 1.0.4 -> 1.0.5 update ;) ... a note in the changelog would have been nice too

User avatar
jamesyonan
OpenVPN Inc.
Posts: 169
Joined: Thu Jan 24, 2013 12:13 am

Re: OpenVPN Connect iOS 1.0.5 broken: Cert verify fails

Post by jamesyonan » Thu Sep 25, 2014 9:10 pm

Somehow the new PolarSSL library used in OpenVPN connect 1.0.5 all of a sudden requires this "CA basic constraint" to be set in the CA certificate
I think PolarSSL is doing the right thing because the standard very clearly requires this. Take a look at section 4.2.1.9 of the X.509 standards document http://tools.ietf.org/html/rfc5280#section-4.2.1.9
Conforming CAs MUST include this extension in all CA certificates that contain public keys used to validate digital signatures on certificates and MUST mark the extension as critical in such certificates.

criggie
OpenVpn Newbie
Posts: 1
Joined: Tue Dec 09, 2014 4:24 am

Re: OpenVPN Connect iOS 1.0.5 broken: Cert verify fails

Post by criggie » Tue Dec 09, 2014 4:24 am

sophitus wrote:Solved....
I got a hint from OpenVPN support that my CA cert was missing the "CA basic constraints". I added that constraint to my CA certificate and OpenVPN Connect V1.0.5 accepted my CA certificate.
Good work! Exactly how did you do that?

solava
OpenVpn Newbie
Posts: 2
Joined: Fri Jan 02, 2015 10:29 am

Re: OpenVPN Connect iOS 1.0.5 broken: Cert verify fails

Post by solava » Fri Jan 02, 2015 10:43 am

I cannot login anymore using my iOS devices with version 1.0.5.
Server Certificate verification fails with new PolarSSL version!

solava

solava
OpenVpn Newbie
Posts: 2
Joined: Fri Jan 02, 2015 10:29 am

Re: OpenVPN Connect iOS 1.0.5 broken: Cert verify fails

Post by solava » Fri Jan 23, 2015 11:06 am

I'm getting the same errors described in this thread.

I did try re-installing the app and the related files via iTunes. Same error.

iOS 7.12 and OpenVPN 1.0.5

Any updates from the OpenVPN development community on this?

SSL Read Error X509.

Is there any easy way to revert back to 1.04?

Post Reply