Skip to content

Suppress Connection Errors #379

Discussion options

You must be logged in to vote

You can use the --ignore-connection-problems command line option to return an OK state.

Optionally, you can specify the desired return value.

Examples:

$ ./check_ssl_cert --host github.com --port 111 --ignore-connection-problems
SSL_CERT OK: Cannot connect to github.com:111
$ ./check_ssl_cert --host github.com --port 111 --ignore-connection-problems 1
SSL_CERT WARNING: Cannot connect to github.com:111

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@berndschneider5
Comment options

@matteocorti
Comment options

@berndschneider5
Comment options

@matteocorti
Comment options

@matteocorti
Comment options

Answer selected by berndschneider5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants