TECHZEN Zenoss User Community ARCHIVE  

Getting "SSL Error: SSL routines, SSL23_READ, ssl handshake failure" for WinRM D ...

Subject: Getting "SSL Error: SSL routines, SSL23_READ, ssl handshake failure" for WinRM Device
Author: Larry
Posted: 2020-01-31 01:46

We are monitoring numerous Windows devices (Microsoft Windows ZenPack v2.9.4) on Zenoss 6.2.1 with no issues.

Model device for one particular device (local account on port 5986) displays this message:

      ERROR zen.PythonClient: Connection lost for server.etc.hosts. SSL Error: SSL routines, SSL23_READ, ssl handshake failure.

Any ideas? The device used to work with Zenoss 4.2.5 but stopped working a while back. We're getting the same error on 4.2.5.

Thanks in advance,


------------------------------
Larry
------------------------------


Subject: RE: Getting "SSL Error: SSL routines, SSL23_READ, ssl handshake failure" for WinRM Device
Author: Larry
Posted: 2020-02-01 04:17

Found the solution. Had to delete the https certificate that already existed and create a new one.

See listeners:
Winrm enumerate winrm/config/listener

Delete listener:
winrm delete winrm/config/Listener?Address=*+Transport=HTTPS

Create new listener:
New-SelfSignedCertificate -certstorelocation cert:\localmachine\my -dnsname HOST
winrm create winrm/config/Listener?Address=*+Transport=HTTPS @{Hostname="HOST";CertificateThumbprint="XXXXXXXXXX"}

------------------------------
Larry
------------------------------


< Previous
Getting "Improper format of Kerberos configuration file" for WinRM Device
  Next
zensendevent with 6.1.0
>