# \[Feature Request\] Https request failed, libcurl error: 60 (SSL peer certificate or SSH remote key was not OK)

**URL:** <https://forums.unrealengine.com/t/feature-request-https-request-failed-libcurl-error-60-ssl-peer-certificate-or-ssh-remote-key-was-not-ok/2289233>\
**Category:** C++\
**Tags:** httprequest, unreal-engine, FeatureRequest, request, editor, question, CPP\
**Created:** [January 19, 2025, 3:04pm UTC](https://forums.unrealengine.com/t/feature-request-https-request-failed-libcurl-error-60-ssl-peer-certificate-or-ssh-remote-key-was-not-ok/2289233 "2025-01-19T15:04:29Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheSubZer0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheSubZer0](https://forums.unrealengine.com/u/TheSubZer0)\
**Post date:** [January 19, 2025, 3:04pm UTC](https://forums.unrealengine.com/t/feature-request-https-request-failed-libcurl-error-60-ssl-peer-certificate-or-ssh-remote-key-was-not-ok/2289233/1 "2025-01-19T15:04:29Z")

</div>

HTTP request: How to bypass bad certificate blocking in the request?

LogHttp: Warning: 000008B851392300: request failed, libcurl error: 60 (SSL peer certificate or SSH remote key was not OK)  
[2025.01.19-14.01.23:359][592]LogHttp: Warning: 000008B851392300: libcurl info message cache 0 ( Trying 192.168.1.107:447…)  
[2025.01.19-14.01.23:359][592]LogHttp: Warning: 000008B851392300: libcurl info message cache 1 (Connected to 192.168.1.107 (192.168.1.107) port 447)  
[2025.01.19-14.01.23:360][592]LogHttp: Warning: 000008B851392300: libcurl info message cache 2 (ALPN: curl offers http/1.1)  
[2025.01.19-14.01.23:360][592]LogHttp: Warning: 000008B851392300: libcurl info message cache 3 (TLSv1.3 (OUT), TLS handshake, Client hello (1)🙂  
[2025.01.19-14.01.23:361][592]LogHttp: Warning: 000008B851392300: libcurl info message cache 4 (TLSv1.3 (IN), TLS handshake, Server hello (2)🙂  
[2025.01.19-14.01.23:361][592]LogHttp: Warning: 000008B851392300: libcurl info message cache 5 (TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8)🙂  
[2025.01.19-14.01.23:363][592]LogHttp: Warning: 000008B851392300: libcurl info message cache 6 (TLSv1.3 (IN), TLS handshake, Certificate (11)🙂  
[2025.01.19-14.01.23:363][592]LogHttp: Warning: 000008B851392300: libcurl info message cache 7 (TLSv1.3 (IN), TLS handshake, CERT verify (15)🙂  
[2025.01.19-14.01.23:364][592]LogHttp: Warning: 000008B851392300: libcurl info message cache 8 (TLSv1.3 (IN), TLS handshake, Finished (20)🙂

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/4/d/f4dfd8d92852f948c8b4813f319f613969dba762.png)

1. It’s a python server with FLASK json request, I used my own ssl certificate with key just for encryption, I don’t want to pay for an enterprise certificate verified by an authority just for a local API…

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [January 19, 2025, 4:02pm UTC](https://forums.unrealengine.com/t/feature-request-https-request-failed-libcurl-error-60-ssl-peer-certificate-or-ssh-remote-key-was-not-ok/2289233/2 "2025-01-19T16:02:15Z")

</div>

I unfortunately get a crash when trying to contact my custom https server on a different port, but I did notice it crashes calling curl. Maybe turning off verify peer could help skip the ssl check in your case.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/6/3/c63e4a1c9c2e4a20797e6d22ee9ba74faf38c299.png)

Tooltip

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/8/e/68e497864d2b5330aa76ac277fe240269621885b.png)

---

<div class="post-metadata">

**Author:** ![TheSubZer0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheSubZer0](https://forums.unrealengine.com/u/TheSubZer0)\
**Post date:** [January 19, 2025, 5:15pm UTC](https://forums.unrealengine.com/t/feature-request-https-request-failed-libcurl-error-60-ssl-peer-certificate-or-ssh-remote-key-was-not-ok/2289233/3 "2025-01-19T17:15:31Z")

</div>

I tried this, it didn’t work, I’m trying some way to edit the plugin or pass a parameter `curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0);` [reference](https://stackoverflow.com/a/25061265) .But I don’t know where I change it ☹ @3dRaven

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [January 19, 2025, 5:48pm UTC](https://forums.unrealengine.com/t/feature-request-https-request-failed-libcurl-error-60-ssl-peer-certificate-or-ssh-remote-key-was-not-ok/2289233/4 "2025-01-19T17:48:05Z")

</div>

These are direct settings for Curl that aren’t accessible via the blueprint. I’ll try to dig into the plugin and see where it can be changed.

---

<div class="post-metadata">

**Author:** ![TheSubZer0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheSubZer0](https://forums.unrealengine.com/u/TheSubZer0)\
**Post date:** [January 19, 2025, 5:49pm UTC](https://forums.unrealengine.com/t/feature-request-https-request-failed-libcurl-error-60-ssl-peer-certificate-or-ssh-remote-key-was-not-ok/2289233/5 "2025-01-19T17:49:16Z")

</div>

Thank you! I’ll also be trying here on my side, I’ll be waiting 🙂

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [January 21, 2025, 11:10pm UTC](https://forums.unrealengine.com/t/feature-request-https-request-failed-libcurl-error-60-ssl-peer-certificate-or-ssh-remote-key-was-not-ok/2289233/6 "2025-01-21T23:10:19Z")

</div>

[HttpNoValid.zip](https://forums.unrealengine.com/uploads/short-url/r4hvBInkwdO7NuGaJz8Y3R5VQo9.zip) (65.3 KB)  
Custom curl function that allows to skip cert check.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/5/b/35b5e2ed30014608969722a3a96869d2ffcd015b.png)

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [February 20, 2025, 11:10pm UTC](https://forums.unrealengine.com/t/feature-request-https-request-failed-libcurl-error-60-ssl-peer-certificate-or-ssh-remote-key-was-not-ok/2289233/7 "2025-02-20T23:10:38Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
