mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-18 22:16:18 -05:00
Fix ignore TLS errors
This commit is contained in:
1 parent
c3bd7aeb93
commit
9655b735a1
5 files changed
+9
-7
No files matched your search
@@ -115,7 +115,7 @@ pub(crate) async fn run() {
|
||||
eprintln!("{} --fix-openssl {}\n", args[0], args[1..].join(" "));
|
||||
}
|
||||
|
||||
if err.contains("certificate verify failed") {
|
||||
if err.contains("certificate verify failed") && !cli.ignore_tls_errors {
|
||||
eprintln!(
|
||||
"\nRe-run it with the `--ignore-tls-errors` option to ignore the certificate error, e.g.:\n"
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user