Skip to content

TLS support (also in CLI utils) #235

@calestyo

Description

@calestyo

Hey.

First of all,... reaaaally nice project, thanks a lot for your efforts :-)

Second, from https://fritzconnection.readthedocs.io/en/1.14.0/sources/getting_started.html#tls-encryption:

Since the router uses a self-signed certificate, currently certificate-verification is disabled.

  1. Would it be possible to add support for proper verification, i.e., if enabled, using the system certificate store per default, but also allowing to specify a CA-cert file/path manually?

    Yes, most people will use it via WiFi, but WPA (including WPA3) isn't really the most secure thing in the world.
    And yes, certs are per default self-signed, but one can upload proper ones (like from a self signed CA) or one could simply directly use that self signed cert and store that somehow locally and use it for verification.

  2. And also to export that via the CLI tool?

    Like via adding a --tls-verify option (or better, a --no-tls-verify-option and let it have the verification done per default)?

    And by some --tls-ca-pathname option or so (which if not given, defaults to system certs)?

  3. Perhaps consider whether TLS should be default and people have to explicitly disable it and/or use some no_verify option to use TLS but don't check the cert? Again, simply for security reasons.

Thanks,
Chris.

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