[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SetError() #24: gsk_env_init: (GSKit) I/O: Unknown system state



   Hi Paul,
   GSKit is short for "Global Secure Toolkit", and it is part of the IBM i
   operating system.
   HTTPAPI is calling the gsk_environment_init() API.  The API is
   returning GSK_ERROR_IO (406), and the errno value is EUNKNOWN (3474).
   I haven't encountered this error, personally, but my guess is that
   something is not right in your Digital Certificate Manager.  Have you
   run SSL on this box before?
   -SK

   On 1/2/2013 10:49 AM, [1]PReid@xxxxxxxxxxxx wrote:

   Hello everyone. I am having an issue when I attempt to run EXAMPLE3
   from library LIBHTTP. I've modified the program as follows:
   callp   http_debug(*on)
   eval    rc = http_url_get(
               '[2]https://www.fortify.net/sslcheck.html':
               '/tmp/httptest.html')
   if      rc <> 1
   callp   http_crash
   endif
   I always get rc = -1 which calls http_crash. The following is what get
   written to httpapi_debug.txt:
   HTTPAPI Ver 1.24 released 2012-01-23
   OS/400 Ver V6R1M0
   New iconv() objects set, PostRem=819. PostLoc=0. ProtRem=819. ProtLoc=0
   http_url_get(): entered
   http_persist_open(): entered
   http_long_ParseURL(): entered
   DNS resolver retrans: 2
   DNS resolver retry  : 2
   DNS resolver options: x'00000136'
   DNS default domain: ERBGROUP.COM
   DNS server found: 192.168.2.6
   DNS server found: 216.171.96.38
   DNS server found: 216.16.248.50
   https_init(): entered
   (GSKit) I/O: Unknown system state.
   ssl_error(406): (GSKit) I/O: Unknown system state.
   SetError() #24: gsk_env_init: (GSKit) I/O: Unknown system state.
   We are running a Power 7 Model: 8202/E4C Processor Group: EPC6 O/S is:
   V6R1M0
   Nobody (including me) in our shop is familiar with the GSKit. Is it
   something that is installed on an iSeries? I've checked online, but I
   can't find any information that tells me how to check if it is
   installed, or how to check what version it is.
   If you had any advice on how I should begin resolving this issue it
   would be much appreciated.
   Thanks very much, Paul.


-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
[3]http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------

References

   1. mailto:PReid@xxxxxxxxxxxx
   2. https://www.fortify.net/sslcheck.html
   3. http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------