Self signed certificate works in windows but not in linux

Scripts to manage certificates or generate config files

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
iwanttobefreak
OpenVpn Newbie
Posts: 1
Joined: Thu Aug 17, 2017 3:06 pm

Self signed certificate works in windows but not in linux

Post by iwanttobefreak » Thu Aug 17, 2017 3:17 pm

I'm trying to connect to openvpn server. I don't have the CA and the CA in the server is self signed certificate
When I'm trying to connect with linux I have this error:
Thu Aug 17 17:12:28 2017 VERIFY ERROR: depth=1, error=self signed certificate in certificate chain: C=XX, ST=XXXXXXXXX, L=XXXXXXX, O=XXXXX, emailAddress=xxx@xxxx.com, CN=internal-ca
Thu Aug 17 17:12:28 2017 OpenSSL: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
Thu Aug 17 17:12:28 2017 TLS_ERROR: BIO read tls_read_plaintext error
Thu Aug 17 17:12:28 2017 TLS Error: TLS object -> incoming plaintext read error
Thu Aug 17 17:12:28 2017 TLS Error: TLS handshake failed

But with Windows connect:
Thu Aug 17 13:01:54 2017 us=805834 Incoming Ciphertext -> TLS
Thu Aug 17 13:01:54 2017 us=805834 VERIFY OK: depth=1, C=XX, ST=XXXXXXXXX, L=XXXXXXX, O=XXXXX, emailAddress=xxx@xxxx.com, CN=internal-ca
Thu Aug 17 13:01:54 2017 us=805834 VERIFY KU OK


I don't have configured CA in both clients.
How can I connect with linux?
Can I download the CA from the server? is UDP connection.
Can I disable self signed certificate?

Thanks!

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Self signed certificate works in windows but not in linux

Post by TinCanTech » Thu Aug 17, 2017 6:53 pm


Post Reply