Hi all,
I am trying to setup a Web Monitor for my API. It is a HTTPS connection which requires an SSL certificate.
Using the curl command, I do it this way:
The output of that command will be in XML format:
Here is how I am trying to do it using the Web Scenario feature:
1. Setting up the Web Scenario:

2. Setting ut the Authentication part:

3. Setting up the Steps:

The error that I get from the check is:
What am I doing wrong?
Cheers
EDIT 1:
I had the certificate in the wrong directory. Fixed it and now I am getting the following error:
I am trying to setup a Web Monitor for my API. It is a HTTPS connection which requires an SSL certificate.
Using the curl command, I do it this way:
Code:
curl --cert /etc/zabbix/certs/cert_prod.pem https://api.example.com/Ping/1.1
Code:
<?xml version="1.0" encoding="UTF-8"?><ping><service name="FBcheckOnline" status="down"/><service name="APICheckOn" status="up"/></ping>
1. Setting up the Web Scenario:
2. Setting ut the Authentication part:
3. Setting up the Steps:
The error that I get from the check is:
Code:
Step "Services" [1 of 1] failed: SSL connect error: NSS: client certificate not found: /usr/share/zabbix/ssl/certs/cert_prod.pem
Cheers
EDIT 1:
I had the certificate in the wrong directory. Fixed it and now I am getting the following error:
Code:
failed: Problem with the local SSL certificate: unable to load client cert: -8018 (SEC_ERROR_UNKNOWN_PKCS11_ERROR)
Comment