Re: GSKit error
Chris Hird <chrish-lbwoW8fqX/[email protected]> Wed, 22 Nov 2023 16:50:06 +0000
| Newsgroups | gmane.comp.lang.as400.c |
|---|---|
| Message-ID | <YT1PR01MB878012E36ACBE4362216E72ABFBAA@YT1PR01MB8780.CANPRD01.PROD.OUTLOOK.COM> |
Mark hit the nail on the head, you have to register the application, make sure you give it a new name so you can verify via certificate manager. Chris... -----Original Message----- From: C400-L <[email protected]> On Behalf Of Mark Waterbury Sent: Wednesday, November 22, 2023 11:39 AM To: Bare Metal Programming IBM i (AS/400 and iSeries) <[email protected]> Subject: Re: [C400-L] GSKit error Kelly, It might have something to do with this: https://www.ibm.com/docs/en/i/7.2?topic=ssw_ibm_i_72/apis/qsyrgap.html HTH, Mark > On Wednesday, November 22, 2023 at 11:33:15 AM EST, Kelly Beard <[email protected]> wrote: gsk_environment_init() failed with rc = 6002 and errno = 0. rc of 6002 means Application identifier is not registered to use TLS. I don't really know what this means. It sounds like I need to do something on the 400 but at the moment I don't know what that means. I think its failing or not set up correctly here: rc = gsk_attribute_set_buffer(my_env_handle, GSK_IBMI_APPLICATION_ID, "MY_CLIENT_APP", 13); Its been a few days since I've gotten back to this, so progress comes in waves. Anyway, thanks! -- 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. -- 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.