# Is adding my CA's certificate to "cacert.pem" enough to set it in the TLS configuration?

**URL:** <https://forums.unrealengine.com/t/is-adding-my-cas-certificate-to-cacert-pem-enough-to-set-it-in-the-tls-configuration/547316>\
**Category:** C++\
**Tags:** unreal-engine, Engine-Source-Code, UE4-27, question\
**Created:** [May 3, 2022, 6:35am UTC](https://forums.unrealengine.com/t/is-adding-my-cas-certificate-to-cacert-pem-enough-to-set-it-in-the-tls-configuration/547316 "2022-05-03T06:35:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jgalaz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jgalaz](https://forums.unrealengine.com/u/jgalaz)\
**Post date:** [May 3, 2022, 6:35am UTC](https://forums.unrealengine.com/t/is-adding-my-cas-certificate-to-cacert-pem-enough-to-set-it-in-the-tls-configuration/547316/1 "2022-05-03T06:35:47Z")

</div>

I saw in the source code of the engine that the SSL manager parses a bunch of certificates from common CAs (SolutionDir/UnrealEngine/Engine/Content/Certificates/ThirdParty/cacert.pem) and I suppose it adds them in the TLS configuration of the HTTP client. I want to also add my own certificate to the TLS configuration so that I can enroll gameplay objects, so I added the certificate my CA emits in that same file, but is that what I have to do? Or do I have to do something else?

---

<div class="post-metadata">

**Author:** ![wukakuki](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/wukakuki/32/1134338_2.png) [@wukakuki](https://forums.unrealengine.com/u/wukakuki)\
**Post date:** [September 7, 2024, 8:49pm UTC](https://forums.unrealengine.com/t/is-adding-my-cas-certificate-to-cacert-pem-enough-to-set-it-in-the-tls-configuration/547316/2 "2024-09-07T20:49:24Z")

</div>

Add you cacert file to Certificates folder of the content folder of your project. Then add the Certificates folder to non-asset directory to package and copy. Then, place your cacert into the Certificates folder
