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

socket descriptor specified w/i gsk_handle not valid



With HTTPAPI Version 1.17, and using EXAMPLE8 as my template, I'm trying
to POST an XML file from the IFS of our iSeries (also our web server),
to a URL using an SSL handshake.

When I call the program to do this, I get the following error:
SetError() #7: Timeout occurred while trying to connect to server!

Here is a copy of the debug file:

---beginning of debug file

HTTPAPI Ver 1.17 released 2006-09-23

New iconv() objects set, PostRem=819. PostLoc=0. ProtRem=819. ProtLoc=0
http_url_post_stmf(): entered
getting post file size...
opening file to be sent...
opening file to be received
http_persist_open(): entered
http_long_ParseURL(): entered
https_init(): entered
------------------------------------------------------------------------
-------------
Dump of local-side certificate information:
------------------------------------------------------------------------
-------------
-----BEGIN CERTIFICATE-----
---secret certificate stuff ---
-----END CERTIFICATE-----
Serial Number: ---serial number removed---
Common Name: ---company name ---
Country: US
State/Province: Idaho
Locality: Meridian
Org Unit: ---company name ---
Org: Terms of use at www.verisign.com/rpa (c)00
Issuer Org: VeriSign Trust Network
Issuer Org Unit: VeriSign, Inc.

SetError() #7: Timeout occurred while trying to connect to server!
(GSKit) The socket descriptor specified within the gsk_handle is not
valid.
ssl_error(6016): (GSKit) The socket descriptor specified within the
gsk_handle is not valid.
SetError() #30: SSL Handshake: (GSKit) The socket descriptor specified
within the gsk_handle is
------------------------------------------------------------------------
-------------
Dump of server-side certificate information:
------------------------------------------------------------------------
-------------
Cert Validation Code = 0

---end of debug file


My boss handles the Digital Certificate Manager, and he assures me that
the certificate has been installed properly on our server, and that my
program has been registered with the DCM. 

In going through the FTPAPI archives, I see one other post where someone
had this problem, and Scott thought that either the server was down, or
there is a firewall blocking access to the server. However, the person
who had the question didn't say if that was the case.

I've contacted the help desk for the service I'm trying to POST to, and
they think it's a certificate installation error. But in looking at the
above debug file, it looks as if we've got the certificate information
and are presenting it when trying to make the SSL connection.

Any ideas or direction would be greatly appreciated....thanks!

Sincerely,

Kim Gibson

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