mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
ssl-certificate-expiry: remove hardcoded CA directory path
This should allow the plugin to be usable on all platforms.
This commit is contained in:
parent
60782f9d72
commit
52144bc277
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ print_expire_days() {
|
|||
[ -n "$starttls" ] && s_client_args="-starttls $starttls"
|
||||
|
||||
# shellcheck disable=SC2086
|
||||
echo "" | openssl s_client -CApath /etc/ssl/certs \
|
||||
echo "" | openssl s_client \
|
||||
-servername "$host" -connect "${host}:${port}" \
|
||||
$s_client_args 2>/dev/null \
|
||||
| parse_valid_days_from_certificate
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue