Kelly,
Is the remote ASCII based?
Chris...
-----Original Message-----
From: C400-L <c400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Kelly Beard
Sent: Friday, January 12, 2024 1:51 PM
To: Bare Metal Programming IBM i (AS/400 and iSeries) <c400-l@xxxxxxxxxxxxxxxxxx>
Subject: [C400-L] GSK TLS/SSL
What can I do with this? The guy I am trying to communicate with on the other end says that he sees 'something' and I am trying to get from him what it is, but as far as I can tell, my program is not getting to a point where actual data is being sent, but probably security handshaking. I gotta believe that the iSeries is not trying to communicate in something like EBCDIC here, but it seems like the two sides cannot 'see' what each other is trying to do. I guess I need to know if there is some advanced logging I can turn on for this. This project is kinda stuck unless I can get some more information. My program is a client connecting to a server.
The connection end is working but the "Peer not recognized or badly formatted message received." is making me wonder about text exchange, if something like that is happening. I have a certificate installed via DCM.
I would think that if there was some problem like that, the error message would state it. I can post code if anyone is interested.
step: gsk_environment_open
my_env_handle=SPP:0000 :1aefQP0ZSPWT BEAK 022211 :1200:0:14
step: gsk_attribute_set_buffer
step: gsk_attribute_set_enum
step: gsk_attribute_set_enum
step: gsk_environment_init
server_ip=xxx.xxx.xxx.xxx, server_port=6443
step: gsk_secure_soc_open
my_session_handle=SPP:0000 :1aefQP0ZSPWT BEAK 022211 :14000:1:14
step: gsk_attribute_set_numeric_value
gsk_secure_soc_init() failed with rc = 415 (Peer not recognized or badly formatted message received.), errno=There is no error.
--
Kelly Beard
--
This is the Bare Metal Programming IBM i (AS/400 and iSeries) (C400-L) mailing list To post a message email: C400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/c400-l
or email: C400-L-request@xxxxxxxxxxxxxxxxxx Before posting, please take a moment to review the archives at
https://archive.midrange.com/c400-l.
As an Amazon Associate we earn from qualifying purchases.