Hi Scott,
I
have the following problem, we cannot be connected to a safe site HTTPS, but we
do not have problems with a site HTTP.
In
program EXAMPLE4 library libhttp (AS/400 Scott Klement), in the head I define the certificate that already
this created in the digital certificate
administrator. D APP_ID
C
CONST('EUROAMERICA_HTTPAPI_EXAMPLES') In
the following rutine it is part of the example which
we are using to connect us to a safe site HTTPS, this same rutine works to us well with
HTTP. C** The only diff between using HTTPS
and using HTTP is
C** the URL that we pass. It starts with 'https://'
c
eval rc=http_url_post(
c
'https://wwwcie.ups.com/ups.app'+ c
'/xml/Track':
c
%addr(data): %len(%trimr(data)): c
'/home/httptest.html')
c
if
rc <> 1
c
eval msg = http_error
c
dsply
msg
c
return
c
endif
The
error message is the following one: (GSKit) the certificate is not indicated by a verified
Authority certifier. in
log of the AS/400 it gives the following
message: Any
certificate available for the process of SSL, error does not exist =
403. What
I this needing so that this works? Regards, |