x3270 SecureTransport error on macOS 10.15 Catalina
3270 Terminal Emulator
Brought to you by:
pmattes
I just upgraded to macOS 10.15 "Catalina" and am trying to run x3270 3.8ga6 with a TLS-encrypted connection. My server's certificate is signed by my company's intermediate cert, which is signed by my company's root cert, both of which are available in my system keychain. Under macOS 10.14, I was able to connect -- x3270 found the root certificates in my keychain without issue. Under macOS 10.15, I am getting "invalid certificate chain" errors. I can't seem to find any trace messages, nor any error messages in Console.app. Any ideas on where I could look next?
Note: I've tried this with my usual install method (HomeBrew) and also with a new build-from-source, both with the same result.
I hope to be able to reproduce this, but it will take a while.
In the meantime, two suggestions:
You rock!
I had tried using Safari to go to the server on the standard https port, and that worked fine. Trying Safari on the 3270 port got me a certificate error. I still don't understand the error -- it said the certificate name didn't match the URL, and the only difference I can see is uppercase vs. lowercase. Maybe in Catalina it's matching certificates case-sensitively? But anyway, I accepted the certificate in Safari, and now my x3270 connection works fine!
Excellent! I thought that might diagnose it, but it fixed it as a bonus!
Just for the permanent record, it's a change in Catalina, nothing to do with x3270. I found this info at https://www.macobserver.com/news/apple-deprecates-sha-1/ :