Four Js Development Tools Forum

Discussions by product => GWS => Topic started by: Salvatore L. on November 07, 2018, 01:05:47 pm



Title: Problem with insecure certificates
Post by: Salvatore L. on November 07, 2018, 01:05:47 pm
I'm building a webserice client, but during the invocation of doRequest () I get the following error.

WS-DEBUG (IO ERROR)
Class: TCPClientConnection :: createSecureConnection ()
Msg: Server name does not match certificate
Code: 0
WS-DEBUG END

It's a problem with the remote server certificate, but I can not in any way change the certificate, but I have to accept it as it is, even though I know it's not safe.

I also have to accept self signed certificates.

How can I do?