Hi All,
I've tried several times to create a secure connection to a webservice over https and failed every time I tried.
What have I done
From the documentation I gather that I need a file called ca-bundle.crt with the certificate from the webservice server. So I went to the site with the webservice and opened the certificate information and then chose Save to file to create a Base64 .cer file. I renamed this file to ca-bundle.crt and copied this to the usys folder (C:\\Program Files (x86)\\Uniface\\10.3\\common\\usys) as mentioned in the documentation.
Now I tried to call the webservice using the UHTTP component. I get an error status -12 meaning
| An internal error occurred. If the request is an HTTPS request, the certification may be incorrectly configured. As an alternative, use the SET_FLAGS |
When using set_flags(11) it works fine.
What am I doing wrong?
As mentioned I've failed several times using proper server validation. Can anyone tell me what I am doing wrong?
With kind regards,
John Bergsma




