Skip to content

[Feature]: Allowing self-singed certificates #7

@Neolanco

Description

@Neolanco

Is your feature request related to a problem?

When attempting to connect to a Navidrome server (and likely Subsonic/Jellyfin servers as well) using a self-signed certificate, the app refuses the connection and throws the following error:
Image

Because my server runs in a local-only environment, I cannot use public Certificate Authorities like Let's Encrypt.
Currently, this connection issue persists even if the root certificate is manually imported and trusted in the Android security settings. This is likely due to Android's default configuration, which ignores user-added certs unless explicitly allowed by the app.

Describe the solution you'd like

I am personally unsure what the best solution here is, but I've considerd the following:

  • trust user-installed certificates (I am not sure if this is potentially problematic with F-Droid's inclusion policies)
  • Implement an "Allow untrusted certificates" toggle

When we find the way to go here, I am willing to try and implement it.

Describe alternatives you've considered

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions