Ad Widget

Collapse

1.4 Web monitoring Error: SSL peer certificate was not ok

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • juampe
    Junior Member
    • Apr 2007
    • 17

    #1

    1.4 Web monitoring Error: SSL peer certificate was not ok

    This was the error I get when zbx try to exec the step to get an https page
    Web monitoring is not capable to use certains private certificates.

    I see in src/zabbix_server/httppoller/httptest.c
    /* Process self-signed certificates. Do not verify certificate. */
    if(CURLE_OK != (err = curl_easy_setopt(easyhandle,CURLOPT_SSL_VERIFYPEER , 0)))
    {
    zabbix_log(LOG_LEVEL_ERR, "Error doing curl_easy_perform [%s]",
    curl_easy_strerror(err));
    return;
    }

    I think it is a CURL issue. But i cannot fix couse i'd never user curl. ¿CAPATH?
  • tronite
    Senior Member
    • Jun 2007
    • 147

    #2
    Originally posted by juampe
    This was the error I get when zbx try to exec the step to get an https page
    Web monitoring is not capable to use certains private certificates.
    Check your sshd.conf file.

    Comment

    • juampe
      Junior Member
      • Apr 2007
      • 17

      #3
      curl and ssl

      sshd.conf is the openssh server config file it uses the openSSL library.

      Zabbix log shows the following:
      17263:20070608:202432 Error doing curl_easy_perform [SSL peer certificate was not ok]

      In this case CURL uses the openSSL Library too but it not trust the certificate offered by the https server. I supose that URLOPT_SSL_VERIFYPEER option set to 0 overrides the CA verification. But it does not work in this scenario.

      Comment

      Working...