pmattes / x3270

Family of IBM 3270 emulators
46 stars 18 forks source link

wc3270 unable to log in to mainframe appliacation #45

Closed mmamrot closed 1 year ago

mmamrot commented 2 years ago

Mainframe application works. I am not able to log in to the application. When I write in a console wc3270.exe (address:4992) then wc3270 window appears but after several seconds I got an informatio that Connection failed : TLS: InitializeSecurityContext: error 0x80090325 (the certificte chain was issueed by an authority that is not trusted.)

I can log in to the mainframe using Jagacy library without any problem. Does anyone know what could be a root cause of that?

pmattes commented 2 years ago

wc3270 uses the Windows sChannel APIs to implement TLS. I don't know what Jacagy might be using.

You can fix this in two ways. As a workaround, you can turn off host certificate checking. Add 'L:Y:' to your host, e.g., L:Y:address:4992. You can also get a copy of the CA root certificate from whoever signed your host's certificate, and install that in the Windows trusted certificate store.

mmamrot commented 2 years ago

Thank you a lot. It helps

mmamrot commented 1 year ago

Issue can be closed