RequestHttpX with self signed certificates - Printable Version +- Ewon Technical Forum (https://techforum.ewon.biz) +-- Forum: Development (https://techforum.ewon.biz/forum-50.html) +--- Forum: Java (https://techforum.ewon.biz/forum-53.html) +--- Thread: RequestHttpX with self signed certificates (/thread-1149.html) |
RequestHttpX with self signed certificates - mid78 - 24-01-2020 Hello, I use the method RequestHttpX of ScheduledActionManager to POST data to my web server API. The problem is that my pre-production environment has the same API but with a self signed certificate. The requests to this API results to an http request error (httpc-HTTPS: The certificate was not issued for the specified server, httpc-HTTPS: SSL server does not present a certificate signed by a trusted CA). Is there a way to "by-pass" this security check and accept all or only some specific self signed certificates ? Thanks, Michel RE: RequestHttpX with self signed certificates - simon - 30-01-2020 Michel, You have to install the certificate in the Flexy. To do that follow this document : https://hmsnetworks.blob.core.windows.net/www/docs/librariesprovider10/downloads-monitored/manuals/knowledge-base/kb-0256-00-en-get-put-https-request-using-basic-script-or-java.pdf?sfvrsn=166256d7_6 See "HttpCertDir" parameter Simon |