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
When we run the "check_ssl_cert" script manually, it seems it's trying to fetch the CA certificate from the URI (CA issuer):
[DBG] ------------------------------------------------------------------------------
[DBG] Checking OCSP status of element 1
[DBG] temporary file /tmp/Qdqv0f created
[DBG] Storing the chain element in /tmp/Qdqv0f
[DBG] Checking revocation via OCSP
[DBG] extracting cert attribute issuer_hash
[DBG] Issuer hash: 22b7e9b1
[DBG] extracting cert attribute issuer_uri
[DBG] Chain element issuer URIs: http://cacerts.rapidssl.com/RapidSSLTLSRSACAG1.crt
[DBG] checking issuer URIs: http://cacerts.rapidssl.com/RapidSSLTLSRSACAG1.crt
[DBG] OCSP: fetching issuer certificate http://cacerts.rapidssl.com/RapidSSLTLSRSACAG1.crt to /tmp/JhwPzk
[DBG] exec_with_timeout /usr/bin/curl --silent --user-agent 'check_ssl_cert/2.52.0' --location \"http://cacerts.rapidssl.com/RapidSSLTLSRSACAG1.crt\" > /tmp/JhwPzk
[DBG] TIMEOUT_REASON = OCSP: fetching issuer http://cacerts.rapidssl.com/RapidSSLTLSRSACAG1.crt
[DBG] executing with timeout (120s): /usr/bin/curl --silent --user-agent 'check_ssl_cert/2.52.0' --location \"http://cacerts.rapidssl.com/RapidSSLTLSRSACAG1.crt\" > /tmp/JhwPzk
[DBG] start time = 1729321422
[DBG] /usr/bin/timeout 120 /bin/sh -c "/usr/bin/curl --silent --user-agent 'check_ssl_cert/2.52.0' --location \"http://cacerts.rapidssl.com/RapidSSLTLSRSACAG1.crt\" > /tmp/JhwPzk"
[DBG] CRITICAL ----------------------------------------
[DBG] prepend_critical_message: new message = Timeout after 120 seconds
[DBG] prepend_critical_message: CRITICAL_MSG =
[DBG] prepend_critical_message: ALL_MSG 1 =
[DBG] prepend_critical_message: MSG 2 = SSL_CERT CRITICAL *.xxx.yyy.com: Timeout after 120 seconds
[DBG] prepend_critical_message: CRITICAL_MSG 2 = SSL_CERT CRITICAL *.xxx.yyyl.com: Timeout after 120 seconds
[DBG] prepend_critical_message: ALL_MSG 2 =
[DBG] SSL_CERT CRITICAL *.xxx.yyy.com: Timeout after 120 seconds
[DBG] CRITICAL ----------------------------------------
But the machines in the environment has no internet access. When we set the http_proxy, https_proxy, and no_proxy environment variables, it seems the script does not check the "no_proxy" environment and it always send the requests to the proxy.
It's a feature request.
When we run the "check_ssl_cert" script manually, it seems it's trying to fetch the CA certificate from the URI (CA issuer):
But the machines in the environment has no internet access. When we set the http_proxy, https_proxy, and no_proxy environment variables, it seems the script does not check the "no_proxy" environment and it always send the requests to the proxy.
It forwards the requests to the proxy even though the host we are checking is an internal one (which has private ip):
In the usage information, it seems we have the following options:
Bu they can not be configured via a Juju option. It would be nice to have this opportunity.
Thanks.
The text was updated successfully, but these errors were encountered: