Closed Martin-Zeithaml closed 6 months ago
You should turn on components.zss.agent.https.trace to get the .tlstrace file in the zowe.logDirectory which you can run gsktrace
upon.
TLSv1.3 works for some but not for others. The trace can reveal why. Sometimes, the reason is ciphers. TLSv1.3 recommends ChaCha20-Poly1305 but this is too new for FIPS 140-2 When users set FIPS 140-2 restriction in their ICSF policy, and ZSS requests chacha poly, it will fail. Maybe thats what you encountered?
It might be this case. The real ciphers
are 1302 1301 1303...
, which corresponds to
TLS_AES_256_GCM_SHA384
TLS_AES_128_GCM_SHA256
TLS_CHACHA20_POLY1305_SHA256
At least doc update for ZWES1606W.
Back to TLSv1.2 solved the problem.
Based on the debugging messages, problem most likely caused by ChaCha20-Poly1305
as mentioned above.
Original issue was zlux/1018.
Quick overview:
No message
ZWES1601I Server is ready to accept JWT with fallback to legacy tokens
Repeating messagesZWES1606W Failed to get JWK. rc=failed to init HTTP request (9), rsn=TLS error (17). Retry in 10 seconds
I have added the debug messages in tls.c.
Getting this output:
gsk_secure_socket_init=1
meansGSK_INVALID_HANDLE
:The environment or SSL handle is not valid. The specified handle was not the result of a successful open function call.
The conclusion is that the environment is wrong and there should be this as solution:
This was already reported by other users/customers to solve their problem with Explorer IP or Editor.
I am waiting for confirmation from customer.