Showing results for 
Show  only  | Search instead for 
Did you mean: 

HTTP Monitor - Problem with certificates (--insecure curl option)


Using an HTTP Monitor to check the availability of an HTTPS URL, I receive an error in that monitor. Doing the curl command related to it (we are using a private location) we receive the following error:


* Peer's certificate issuer has been marked as not trusted by the user.
* Closing connection 0
curl: (60) Peer's certificate issuer has been marked as not trusted by the user.
More details here:

curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use the -k (or --insecure) option.


If I use the --insecure option, I receive the proper result. However, I'm not able to see if I have to establish some option or configuration to have the same behavior in the HTTP monitor (similar to the --insecure option) in order to have the proper result. 


Can you help me to solve this situation, please?






Dynatrace Leader
Dynatrace Leader

Does the 'Accept any SSL certificate' option do what you want?

Synthetic SME and community advocate.


Yes, That option is enabled.




I'm not sure. What is the error you see in the HTTP monitor? Possibly this would be best looked at in a support ticket?

Synthetic SME and community advocate.

DynaMight Guru
DynaMight Guru

Another tip based in my experience. Check if you have a mediator in the middle like an F5 that exchanges the certificates. That could add some noise in the process.

The true delight is in the finding out rather than in the knowing.

Dynatrace Champion
Dynatrace Champion



Which OS your source server is from where you are trying the curl option with insecure request?

Try importing the certs in the ca cert path of the OS directories and also java ca cert path for any java based app.

For windows you can simply download the certificate and install in the device.

This will solve this issue.


Featured Posts