NetXMS Support Forum

Please login or register.

Login with username, password and session length

Author Topic: agent tunnels tls failure  (Read 324 times)

vasnam23

  • Newbie
  • *
  • Posts: 8
    • View Profile
agent tunnels tls failure
« 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?
Logged

StanHubble

  • Jr. Member
  • **
  • Posts: 53
    • View Profile
Re: agent tunnels tls failure
« Reply #1 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?
Logged

vasnam23

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: agent tunnels tls failure
« Reply #2 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.
Logged