]> www.infradead.org Git - users/dwmw2/openconnect.git/commit
allow specification of multiple certificate fingerprints on command-line via --servercert
authorDaniel Lenski <dlenski@gmail.com>
Mon, 25 Jan 2021 07:39:39 +0000 (23:39 -0800)
committerDaniel Lenski <dlenski@gmail.com>
Fri, 5 Feb 2021 17:24:33 +0000 (09:24 -0800)
commit856d39d0601241c74848eed3bbe3f5c8bc9c0065
tree332a3fa1b172b8a249d850ea019f5d14210e81df
parentf07d798f7c8169bf34b485942205f3a0d64dc074
allow specification of multiple certificate fingerprints on command-line 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>
main.c
openconnect.8.in