Re: GSK TLS/SSL
Jon Paris <[email protected]> Fri, 12 Jan 2024 14:08:33 -0500
| Newsgroups | gmane.comp.lang.as400.c |
|---|---|
| Message-ID | <[email protected]> |
Your program is written in C? If not what? Have you tried using a tried-and-true package like Scott Klement's HTTPAPI? Can you connect using Postman or Insomnia or ... ? Can you connect using the SQL HTTP routines? Jon P. > On Jan 12, 2024, at 1:50 PM, Kelly Beard <[email protected]> wrote: > > 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: [email protected] > To subscribe, unsubscribe, or change list options, > visit: https://lists.midrange.com/mailman/listinfo/c400-l > or email: [email protected] > Before posting, please take a moment to review the archives > at https://archive.midrange.com/c400-l. -- This is the Bare Metal Programming IBM i (AS/400 and iSeries) (C400-L) mailing list To post a message email: [email protected] To subscribe, unsubscribe, or change list options, visit: https://lists.midrange.com/mailman/listinfo/c400-l or email: [email protected] Before posting, please take a moment to review the archives at https://archive.midrange.com/c400-l.