GSKit Codepage issue
Posted: Fri Jun 23, 2023 1:37 am
Dear all,
Greeting. I am working on iSeries V7R4. Recently I need to implement TLS 1.2 over TCP/IP for an Internet URL.
The infra looks like:
Handshake failed due to protocol version as checked by vendor.
I am not able to enable the GSKit handshake trace as GSKit is not installed in iSereis, only the service pgm available.
I suspect this is due to code page issue: GSKit sending EBCDIC and the TCP server use ASCII.
I can't find any way to change the codepage for GSKit (i try env vars GSK_ENV, failed).
May I know anyone has similar experience on this error? Thanks.
This is the error when i try to establish the connection:
Greeting. I am working on iSeries V7R4. Recently I need to implement TLS 1.2 over TCP/IP for an Internet URL.
The infra looks like:
I implement SOCKS5 protocol with a C program. Then user GSKit to secure the channel.iSeries -> SOCKS5 -> Proxy Server -> Internet -> Vendor URL
Handshake failed due to protocol version as checked by vendor.
I am not able to enable the GSKit handshake trace as GSKit is not installed in iSereis, only the service pgm available.
I suspect this is due to code page issue: GSKit sending EBCDIC and the TCP server use ASCII.
I can't find any way to change the codepage for GSKit (i try env vars GSK_ENV, failed).
May I know anyone has similar experience on this error? Thanks.
This is the error when i try to establish the connection:
gsk_secure_soc_init() failed with rc = 410 and errno = 0.
rc of 410 means Peer not recognized or badly formatted message received.