OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • VPN does not work with e.g. "Tunnelblick" anymore > ns-cert-type?
« previous next »
  • Print
Pages: [1]

Author Topic: VPN does not work with e.g. "Tunnelblick" anymore > ns-cert-type?  (Read 6694 times)

hirschferkel

  • Jr. Member
  • **
  • Posts: 92
  • Karma: 3
    • View Profile
VPN does not work with e.g. "Tunnelblick" anymore > ns-cert-type?
« on: March 02, 2018, 11:11:24 am »
Hi there,

I do not exactly know how to fix the following problem and appreciate any help. I can't connect to my VPN anymore. I used the app "Tunnelblick" to connect to the OPNsense VPN but since today I get the following errors:

Code: [Select]
2018-03-02 11:04:28 VERIFY ERROR: depth=1, error=certificate has expired: C=DE, ST=****, L=****, O=***, emailAddress=s.***@***.de, CN=internal-ca
2018-03-02 11:04:28 OpenSSL: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
2018-03-02 11:04:28 TLS_ERROR: BIO read tls_read_plaintext error
2018-03-02 11:04:28 TLS Error: TLS object -> incoming plaintext read error
2018-03-02 11:04:28 TLS Error: TLS handshake failed

And as I installed the current Beta Version of tunneblick, I got this message:

Code: [Select]
Achtung: Dieses VPN kann möglicherweise in der Zukunft nicht verbunden werden.

Die OpenVPN Konfigurationsdatei für "kerberos-udp-1194-***" enthält die folgenden OpenVPN Optionen:

[b]"ns-cert-type" gilt seit OpenVPN 2.4 als unerwünscht und wurde in OpenVPN 2.5 entfernt[/b]

Sie sollten die Konfiguration aktualisieren, damit sie mit modernen Versionen von OpenVPN genutzt werden kann.

Tunnelblick wird OpenVPN 2.4.4 - OpenSSL v1.0.2n nutzen, um diese Konfiguration zu verbinden.

Dennoch können Sie dieses VPN mit zukünftigen Versionen von Tunnelblick, die nicht eine Version von OpenVPN beinhalten, die diese Optionen akzeptiert, nicht verbinden.

und eben:
Code: [Select]
"WARNING: Your certificate has expired!".
All the best, hirschferkel
« Last Edit: March 02, 2018, 11:13:57 am by hirschferkel »
Logged

BeNe

  • Full Member
  • ***
  • Posts: 111
  • Karma: 13
  • Use *BSD and feel free!
    • View Profile
Re: VPN does not work with e.g. "Tunnelblick" anymore > ns-cert-type?
« Reply #1 on: March 02, 2018, 01:58:02 pm »
Did you upgrade tunnelblick. They changed the SSL Version. In order to fix it so that the VPN client can connect again, change from using  Latest (2.4.4 - LibreSSL v2.6.2) to Default (2.3.18 - OpenSSL v1.0.2m).

Go to the section in Tunnelblick titled Settings.
Change the OpenVPN Version field from Latest (2.4.4 - LibreSSL v2.6.2) to Default (2.3.18 - OpenSSL v1.0.2m).

Hope this help!
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13906
  • Karma: 1206
    • View Profile
Re: VPN does not work with e.g. "Tunnelblick" anymore > ns-cert-type?
« Reply #2 on: March 02, 2018, 02:25:56 pm »
Expired messages will probably cause Tunnelblick to stop connecting. If that's the case, the certificate and/or CA need to be refreshed.

ns-cert-type is no longer available since 17.7.4. It's in the exported configuration only, so it was created before this particular version. It has the wrong value and needs to be edited accordingly, changing it to "remote-cert-tls".

https://github.com/opnsense/changelog/blob/59d575b04


Cheers,
Franco
Logged

hirschferkel

  • Jr. Member
  • **
  • Posts: 92
  • Karma: 3
    • View Profile
Re: VPN does not work with e.g. "Tunnelblick" anymore > ns-cert-type?
« Reply #3 on: March 05, 2018, 10:10:14 am »
@Franco: Hi Franco actually your link causes a 404... could you send the proper link again? Best
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13906
  • Karma: 1206
    • View Profile
Re: VPN does not work with e.g. "Tunnelblick" anymore > ns-cert-type?
« Reply #4 on: March 05, 2018, 10:15:11 am »
Sorry, trimmed the wrong link: https://github.com/opnsense/changelog/blob/59d575b04473f25e02b8573796121f8ef4a3c47a/doc/17.7/17.7.4#L22
Logged

hirschferkel

  • Jr. Member
  • **
  • Posts: 92
  • Karma: 3
    • View Profile
Re: VPN does not work with e.g. "Tunnelblick" anymore > ns-cert-type?
« Reply #5 on: March 06, 2018, 01:56:52 pm »
O.k. I updated the CAs an certificates and everything works again. Thanks for your help, best
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • VPN does not work with e.g. "Tunnelblick" anymore > ns-cert-type?
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2