Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
allow specification of multiple certificate fingerprints on command-l…
…ine via --servercert Server certificates will be accepted if they match *any* of the provided fingerprints. Behavior with `--servercert` is otherwise unchanged; it still disables system trust stores, meaning that _only_ certificates matching the provided fingerprints will be accepted if it is specified one or more times. This will allow the use of `--servercert` to non-interactively connect to a server which has a non-trusted certificate and redirects to one or more other servers with non-trusted certificates. (See #25 for a real case.) Signed-off-by: Daniel Lenski <dlenski@gmail.com>
- Loading branch information
Showing
2 changed files
with
51 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters