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 <c400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Mark Waterbury
Sent: Wednesday, November 22, 2023 11:39 AM
To: Bare Metal Programming IBM i (AS/400 and iSeries) <c400-l@xxxxxxxxxxxxxxxxxx>
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 <kenverybigliar@xxxxxxxxx> 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: 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.
--
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.