NetTalk Central

Author Topic: SSL issue on 11.21 on Windows Server 2019  (Read 6356 times)

mriffey

  • Newbie
  • *
  • Posts: 43
    • View Profile
    • Email
SSL issue on 11.21 on Windows Server 2019
« on: September 25, 2019, 07:03:18 AM »
I'm almost certain this is caused by something I've done wrong, but I haven't found it yet, so I'll post this here so it will come to me seconds after I click "POST" :)

I am getting these errors when trying to connect to a HTTPS (LE certificate) NTWS server. The certificate validates fine, the name is correct and the pages not secured by login serve ok, but I see these log entries (below) on every browse attempt. When I attempt to use the login form (which is in out of the box form for testing), I get these errors and the login never succeeds - in fact, ODS displays give the impression that the validateupdate embed in the login form never gets control.

[NetDLL] [2] SimpleServer_Async - ReadData() :  rd1
[NetDLL] [2] SimpleServer_Async - ReadData() :  rd2
[NetDLL] [2] SSL_Our_ServerRead() : SSL Error calling SSL_Read : SSL_ERROR_SYSCALL [] Some I/O error occurred. SSL Error Code = 5
[NetDLL] [2] SimpleServer_Async - ReadData() :  rd3 loc:SSLErrorNumber=0
[NetDLL] [2] SimpleServer_Async - ReadData() : SimpleServer_Async loc:ret (A) = 0 loc:rc=-75
[NetDLL] [2] SimpleServer_Async - ReadData() : SimpleServer_Async loc:ret (B) = 0
[NetDLL] [2] NetErrorStr() : Error (0) = General Winsock Error (unknown by NetErrorStr)
[NetDLL] [2] SimpleServer_Async - Do Read() : Error trying to read Data from Socket. (loc:rc = -75) Error = 0 => General Winsock Error (unknown by NetErrorStr)
[NetDLL] [2] SimpleServer_Async - ReadData() : Nothing to read. Could not read.
[NetDLL] [2] SimpleServer_Async() : ReadCount = 0
[NetDLL] [2] SimpleServer_Async() : Calling CloseSocket on socket=1228
[NetDLL] [2] SimpleCloseSocket - Graceful Close() : Calling SetSockOpt. Linger = 1 3
[NetDLL] [2] SimpleCloseSocket() : p_lpSSL start
[NetDLL] [2] SSL_Our_Close() : Before SSL_Shutdown 13053232
[NetDLL] [2] SSL_Our_Close() : Result (SSL_Shutdown) = -1
[NetDLL] [2] SSL_Our_Close() : Before SSL_Free 13053232
[NetDLL] [2] SSL_Our_Close() :  After SSL_Free

mriffey

  • Newbie
  • *
  • Posts: 43
    • View Profile
    • Email
Re: SSL issue on 11.21 on Windows Server 2019
« Reply #1 on: September 26, 2019, 06:42:16 AM »
No progress on this. I installed everything on a Server 2016 system to make sure it wasnt an oddity about 2019 - same issue, so Im still thinking I did something weird.

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: SSL issue on 11.21 on Windows Server 2019
« Reply #2 on: September 26, 2019, 06:56:26 AM »
Hi, be sure to, in the first time, request the cert using port 80
-----------
Regards
Alberto

mriffey

  • Newbie
  • *
  • Posts: 43
    • View Profile
    • Email
Re: SSL issue on 11.21 on Windows Server 2019
« Reply #3 on: September 26, 2019, 09:36:55 AM »
The cert is correct. That part worked fine. What fails is when you actually try to browse to the site and login.

Matthew51

  • Full Member
  • ***
  • Posts: 152
    • View Profile
    • Email
Re: SSL issue on 11.21 on Windows Server 2019
« Reply #4 on: September 27, 2019, 01:16:06 PM »
Double check everything in the Deploying a TLS Client or Server list

Failing that I think you would need Bruce to look at this.
Contractor with 10+ years of NetTalk experience looking for work.
www.linkedin.com/in/matthew-leavitt
BisWare.ca
Check out my free EasyTime Template

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: SSL issue on 11.21 on Windows Server 2019
« Reply #5 on: September 30, 2019, 02:11:47 AM »
Did you remember to install the MS Visual Studio runtimes?

https://aka.ms/vs/16/release/vc_redist.x86.exe

Is your certificates path correct?

Don
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11