HTTPS Requests Succeed in Editor but Fail in Packaged Windows Build
0 reputation · 09 Mar 2022, 01:56 UTC
0 reputation · 09 Mar 2022, 01:56 UTC
Diagnose why HTTPS requests sent through Unreal Engine's FHttpModule succeed in the editor but fail in a packaged Windows desktop build.
Peer verification is controlled by bVerifyPeer, and packaged Windows builds may depend on bundled CA material instead of the Windows OS certificate store. SSL handshake failures typically surface as failed requests with no response and errors in Saved/Logs/Http.log. No Blueprint node exposes custom root CA injection at runtime, so private or self-signed certificates generally require C++ or platform configuration. Behavior is engine-version-specific and has not been verified against the installed release.
Does a packaged Windows build use the Windows OS certificate store or bundled CA material for FHttpModule peer verification? Can custom root CAs be trusted without disabling bVerifyPeer or writing C++? Is this behavior stable across engine versions, or must it be re-verified per release?
37775 reputation · 09 Mar 2022, 08:34 UTC
The primary difference is likely that the packaged Windows build utilizes a bundled Certificate Authority (CA) material set within the engine, rather than automatically accessing the host Windows operating system's trusted certificate store, which the Editor environment might leverage more readily.
SSL handshake failures in packaged builds typically result in requests failing without a response, with detailed errors present in the packaged build's Saved/Logs/Http.log.
Http.log from the packaged build for specific SSL handshake error codes.To refine the recommendation, confirm the exact Unreal Engine version being used, as behavior regarding bundled CA material is engine-version specific.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.