Ad Widget

Collapse

Patch: SSL client certficate patch for web checks

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • clemensg
    Junior Member
    • Jan 2013
    • 4

    #1

    Patch: SSL client certficate patch for web checks

    Hello,

    this is a quick and dirty patch/hack to monitor client certificate protected websites. This patch is against Zabbix 2.0.4.

    The cert files have to be in PEM format. You need an file for the CA, the client certifcate, the private key and the password for this private key.

    This was my example code for libcurl SSL support: http://curl.haxx.se/libcurl/c/simplessl.html

    With the curl cmd tool and an .curlrc file it's possible to test the PEM files:
    .curlrc
    --insecure
    --cert clientcert.pem
    --cert-type PEM
    --cacert cacert.pem
    --key clientkey.pem
    --pass ***


    I hope this patch is useful for someone.

    Regards,
    Clemens
    Attached Files
  • zalex_ua
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2009
    • 1286

    #2
    Did you create a feature request ?
    See please https://www.zabbix.com/forum/showthread.php?t=38590

    Comment

    • clemensg
      Junior Member
      • Jan 2013
      • 4

      #3
      Feature Request

      I create a feature request: https://support.zabbix.com/browse/ZBXNEXT-1563

      Comment

      • zalex_ua
        Senior Member
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Oct 2009
        • 1286

        #4
        Very nice, thanks !

        Comment

        Working...