NetXMS Support Forum

English Support => General Support => Topic started by: vasnam23 on June 20, 2019, 04:36:26 AM

Title: agent tunnels tls failure
Post by: vasnam23 on June 20, 2019, 04:36:26 AM
New install on Ubuntu 18.04. I can't make agents tunnel to work. I used netxms documentation to create CA and certificates.

server log:
2019.06.19 21:16:02.510 *D* [crypto.cert        ] Loading CA certificate from /home/user/ssl/rootCA.crt
2019.06.19 21:16:02.510 *D* [crypto.cert        ] Adding CA certificate C=AU,O=Internet Widgits Pty Ltd
2019.06.19 21:16:02.511 *D* [crypto.cert        ] Server certificate: C=LV,O=netxms.org,CN=|product_name| Server
2019.06.19 21:16:02.511 *D* Server certificate loaded
2019.06.19 21:16:02.511 *D* Using server certificate key

2019.06.19 21:16:06.884 *D* [agent.tunnel       ] SetupTunnel(x.x.x.x): cannot create TLS context

client log:
2019.06.19 21:21:55.571 *D* [tunnel             ] x.x.x.x: TLS handshake failed (error:00000005:lib(0):func(0):DH lib)

What am I missing here?
Title: Re: agent tunnels tls failure
Post by: StanHubble on June 21, 2019, 06:40:06 AM
What OS is the client?
There are a number of older posts here mentioning ubuntu and libssl-dev.  Do you have that package loaded?
Title: Re: agent tunnels tls failure
Post by: vasnam23 on June 21, 2019, 04:35:05 PM
Any client OS.
I gave up on  Ubuntu 18.04. Installed server on Windows, worked on first try.