# Does UE4 support HTTPS?

**URL:** <https://forums.unrealengine.com/t/does-ue4-support-https/327573>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [August 4, 2015, 2:02am UTC](https://forums.unrealengine.com/t/does-ue4-support-https/327573 "2015-08-04T02:02:49Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kkirkfield](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kkirkfield](https://forums.unrealengine.com/u/kkirkfield)\
**Post date:** [August 4, 2015, 2:02am UTC](https://forums.unrealengine.com/t/does-ue4-support-https/327573/1 "2015-08-04T02:02:49Z")

</div>

I’m prototyping a game in Unity 5 and UE4 to see which one fits the game best, and so far I’ve had no luck with getting SSL certs setup with Unity. I see UE4 uses libcurl, so does the FHttpModule support HTTPS and verifying certificates? Also, are there any limitations, E.g. hash length/algorithms? I know Unity has limitations like this, that’s why I ask.

---

<div class="post-metadata">

**Author:** ![joeGraf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@joeGraf](https://forums.unrealengine.com/u/joeGraf)\
**Post date:** [August 4, 2015, 7:26pm UTC](https://forums.unrealengine.com/t/does-ue4-support-https/327573/2 "2015-08-04T19:26:09Z")

</div>

The HTTP code does support SSL and verifies the certificates. We use it to communicate with various online RESTful services.

---

<div class="post-metadata">

**Author:** ![ambientenergy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ambientenergy](https://forums.unrealengine.com/u/ambientenergy)\
**Post date:** [January 31, 2017, 1:15pm UTC](https://forums.unrealengine.com/t/does-ue4-support-https/327573/3 "2017-01-31T13:15:04Z")

</div>

This doesn’t appear to be accurate with local testing on my windows 10 workstation using unreal 4.14

Tracing it down, looks like on windows in CurlHttpManager.cpp [484] that the CertBundlePath is null. As a result bVerifyPeer is set to false and by default UE4 doesn’t check anything other than the hostname for a certificate.

Is it just me or is security off by default? Haven’t been able to find documentation referencing this issue.

Info Log :

LogInfo:Display: ExecuteHttpStaticRecv(40): Got http response [200] : [https://expired.badssl.com/](https://expired.badssl.com/)

LogInfo:Display: ExecuteHttpStaticRecv(40): Got http response [200] : [https://sha256.badssl.com/](https://sha256.badssl.com/)

LogInfo:Display: ExecuteHttpStaticRecv(40): Got http response [200] : [https://untrusted-root.badssl.com/](https://untrusted-root.badssl.com/)

LogInfo:Display: ExecuteHttpStaticRecv(40): Got http response [200] : [https://self-signed.badssl.com/](https://self-signed.badssl.com/)

LogInfo:Display: ExecuteHttpStaticRecv(40): Got http response [200] : [https://revoked.badssl.com/](https://revoked.badssl.com/)

LogInfo:Display: ExecuteHttpStaticRecv(40): Got http response [200] : [https://incomplete-chain.badssl.com/](https://incomplete-chain.badssl.com/)

---

<div class="post-metadata">

**Author:** ![ambientenergy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ambientenergy](https://forums.unrealengine.com/u/ambientenergy)\
**Post date:** [January 31, 2017, 1:20pm UTC](https://forums.unrealengine.com/t/does-ue4-support-https/327573/4 "2017-01-31T13:20:49Z")

</div>

Tracing down on github, I believe this change is responsible?

[https://github.com/EpicGames/UnrealEngine/blame/4.14.1-release/Engine/Source/Runtime/Online/HTTP/Private/Curl/CurlHttpManager.cpp#L486](https://github.com/EpicGames/UnrealEngine/blame/4.14.1-release/Engine/Source/Runtime/Online/HTTP/Private/Curl/CurlHttpManager.cpp#L486)

Change 2958724 on 2016/04/28 by #########

```
moved setting bVerifyPeer flag AFTER CertBundlePath has been set...

otherwise, libCurl is going to try to verify the SSL session - but without a cert file, it makes no sense to try and verify the session

- we could (and probably should) make this an error condition - but the constructor has the bVerifyPeer set to true -- which would mean that all games will need to have a cert file and/or know to set bVerifyPeer to false...

- and so far, only linux and android seem to have code in place to make use of the cert files...

#jira UE-29950 - Orion deticated server MCP authentication fails when using CURL
#lockdown ##########
```

---

<div class="post-metadata">

**Author:** ![Randy\_Croucher1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Randy\_Croucher1](https://forums.unrealengine.com/u/Randy_Croucher1)\
**Post date:** [October 4, 2018, 10:13am UTC](https://forums.unrealengine.com/t/does-ue4-support-https/327573/5 "2018-10-04T10:13:15Z")

</div>

Any word on this? I’m not able to download a file from an HTTPS url either.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6da3364e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6da3364e](https://forums.unrealengine.com/u/anonymous_user_6da3364e)\
**Post date:** [January 11, 2019, 2:02am UTC](https://forums.unrealengine.com/t/does-ue4-support-https/327573/6 "2019-01-11T02:02:38Z")

</div>

Hi, this is a UE4 HTTP plugin:

> **[UE4Http(Http Request for UE4) in Code Plugins - UE Marketplace](https://www.unrealengine.com/marketplace/en-US/product/ue4http-http-request-for-ue4)**
>
> UNKNOWN
