Object containing the password for the certificate store file not found.

Discussions related to HTTPAPI (An HTTP Client Package for RPG programming.) http://www.scottklement.com/httpapi/
Post Reply
peder udesen
Posts: 26
Joined: Thu Jul 29, 2021 8:00 am

Object containing the password for the certificate store file not found.

Post by peder udesen »

I have just changed the server from http to https in my program.
It has worked OK as long as I used the http protocol.
Only the constant http://myServer in my program was changed to https://myServer and the program was compiled OK.

myServer is of course changed to use the https protocol.


Now I get the error:
Object containing the password for the certificate store file not found.

And I can't figure out what I'm doing wrong or missing.
Can you help me?



The log is as follows:
HTTPAPI Ver 1.49 released 2024-04-16 <=== this is actually 1.51
NTLM Ver 1.4.0 released 2014-12-22
OS/400 Ver V7R5M0

New iconv() objects set, PostRem=819. PostLoc=0. ProtRem=819. ProtLoc=0
.
.
.
.
https_init(): entered
QSSLPCL = *OPSYS
SSL version 2 support disabled
SSL version 3 support disabled
Old interface to TLS version 1.0 support enabled
TLS version 1.0 support enabled
TLS version 1.1 support enabled
TLS version 1.2 support enabled
TLS version 1.3 support enabled
initializing GSK environment
(GSKit) Object containing the password for the certificate store file not found.
ssl_error(201): (GSKit) Object containing the password for the certificate store file not found.
SetError() #24: gsk_env_init: (GSKit) Object containing the password for the certificate store f
http_close(): entered
peder udesen
Posts: 26
Joined: Thu Jul 29, 2021 8:00 am

Re: Object containing the password for the certificate store file not found.

Post by peder udesen »

We have located the cause.

It turned out that the *SYSTEM certificate store was corrupt.
After deleting it and creating it again everything worked like a charm.

Regards
Peder
Post Reply