Export Cloudflare Managed CA Root Certificate

Answer these questions to help the Community help you with Security questions.

What is the domain name? slaks.net

Have you searched for an answer? Yes

Please share your search results url:
https://community.cloudflare.com/search?q=%22Cloudflare%20Managed%20CA%22

Describe the issue you are having:

I’m trying to set up mTLS to protect my Home Assistant server. I set up a client certificate, and verified that everything works fine from Chrome on desktop.

However, after installing the certificate on Android, the Home Assistant app (which supports client certificates) gives this error [1], triggered by this code [2].

AFAICT, the problem is that the device doesn’t treat my client certificate as valid because it isn’t signed by a trusted CA. Can I export my account’s Cloudflare Managed CA Root Certificate (the Authority for the client certificate) so that my device can trust the client certificate?

1: https://github.com/home-assistant/android/blob/fa001ffc29fc1ff8bfd2f47f0628666edbe3f386/app/src/main/java/io/homeassistant/companion/android/onboarding/authentication/AuthenticationFragment.kt#L117-L119
2: https://github.com/home-assistant/android/blob/bf5a983be2e8a9db0a35251fbfa76ce59c7dddc9/app/src/main/java/io/homeassistant/companion/android/util/TLSWebViewClient.kt#L119-L123

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