You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Prepend a baseline lead-in that summarizes the number of certificates
// retrieved and from which target host/IP Address.
deferfunc() {
nagiosExitState.LongServiceOutput=fmt.Sprintf(
"%d certs found for %s%s%s%s",
certsSummary.TotalCertsCount,
certChainSource,
nagios.CheckOutputEOL,
nagios.CheckOutputEOL,
nagiosExitState.LongServiceOutput,
)
}()
is included after hostname verification succeeds or fails. Instead, for troubleshooting purposes we probably want to include that just after the certificate chain is retrieved. Then, regardless whether any later checks succeed or fail we'll have the plugin output to indicate how many certs were found for what source.
The text was updated successfully, but these errors were encountered:
Move lead-in text immediately after retreiving the certificate
chain so that those details are provided regardless of whether
hostname verification is successful.
refs GH-316
Move lead-in text immediately after retrieving the certificate
chain so that those details are provided regardless of whether
hostname verification is successful.
refs GH-316
atc0005
changed the title
Include the baseline certs "lead-in" immediately after retrieving the certificate chain
check_cert | Include the baseline certs "lead-in" immediately after retrieving the certificate chain
May 13, 2022
This block:
check-cert/cmd/check_cert/main.go
Lines 444 to 455 in eb5eb94
is included after hostname verification succeeds or fails. Instead, for troubleshooting purposes we probably want to include that just after the certificate chain is retrieved. Then, regardless whether any later checks succeed or fail we'll have the plugin output to indicate how many certs were found for what source.
The text was updated successfully, but these errors were encountered: