× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



We do it every time you run your program before you open the environment. We use the API QsyRegisterAppForCertUse and set to replace any existing certs that may be registered. The rest is pretty easy to understand from the docs.

Chris...

-----Original Message-----
From: C400-L <c400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Kelly Beard
Sent: Wednesday, November 22, 2023 12:25 PM
To: Bare Metal Programming IBM i (AS/400 and iSeries) <c400-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: [C400-L] GSKit error

You mean there is no menu or command to do this? Seems silly. Is this a one-time registration or do you include this in the code and it registers itself every time?


On Wed, Nov 22, 2023 at 10:50 AM Chris Hird <chrish@xxxxxxxxxxxxxxxxxx>
wrote:

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.
--
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.



--
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.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.