SSL peer certificate or SSH remote key was not OK

lock
push_pin
done
Beantwoord
7

Hi dear Support,

I  send in crm scripts Data to URL for our Web Apps, and got Error back:

HTTPConnection::endRequest(): SSL peer certificate or SSH remote key was not OK.

Therefore the Data in SO Cloud is not sent. I checked the URL has valid Certificate but with common Name: *.xxx.de

The Web Apps of URL is hosted on our Webserver, According to our IT Support, it is about Wildcard Certificate with "*" in its name, so that its all Sub-Domain will be certifiable. however, it's a valid Certificates.

How could I get around with this problem?

 

Thanks!

22 apr. 2024 | 10:12 a.m.

Alles Antwoorden (7)

Hi,

You can disable the peer certificate validation, does it work then?

HTTP httpClass;

httpClass.setOption("verifyPeer", "false");
22 apr. 2024 | 11:48 a.m.
Hi david,

it was and is with httpClass.setOption("verifyPeer", "false"), but still with same problem.
22 apr. 2024 | 12:01 p.m.

22 apr. 2024 | 12:03 p.m.
Hi Mr. You. Maybe you want to remove the password from the EDV_Anwender User from the screenshot
22 apr. 2024 | 12:22 p.m.
Thanks Alexander, it's removed.
22 apr. 2024 | 12:28 p.m.
Hi,
What happens if you also try to set h.setOption("verifyHost", false); ?
/Michel
24 apr. 2024 | 06:15 a.m.
Hi Michel,
yes, it works now with h.setOption("verifyHost", "false");
25 apr. 2024 | 02:07 p.m.

Reply toevoegen