Skip to content

Feature Request: Toggle switch to allow self-signed CA certificates #9

Description

@1010rob

Hi, first of all thank you for writing this app!

Would it be possible to add a toggle switch to allow user installed CA certificates in the app, so that the app can communicate with services that are using self-signed certificates (such as self-hosted servers)?
Right now I've managed to allow all user installed certificates from the phone in the app by changing network_security_config.xml to:

<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
    <base-config cleartextTrafficPermitted="true">
        <trust-anchors>
            <certificates src="user"/>
            <certificates src="system"/>
        </trust-anchors>
    </base-config>
</network-security-config>

This causes the app to use recognize the user-installed CA I have on my phone, and it works just fine for me as it is. However, other users might want a toggle switch in case this behavior is undesired for their use case. I'm not sure how difficult this is to implement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions