agent tunnels tls failure

Started by vasnam23, June 20, 2019, 04:36:26 AM

Previous topic - Next topic

vasnam23

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?

StanHubble

What OS is the client?
There are a number of older posts here mentioning ubuntu and libssl-dev.  Do you have that package loaded?

vasnam23

Any client OS.
I gave up on  Ubuntu 18.04. Installed server on Windows, worked on first try.