Ad Widget

Collapse

SEC_ERROR_BAD_KEY on web scenario working with browser but not zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dukejustice
    Junior Member
    • Dec 2015
    • 11

    #1

    SEC_ERROR_BAD_KEY on web scenario working with browser but not zabbix

    Hi.

    I've set up a Zabbix 3.0 web scenario with SSL cert and key + password.

    I've verified the files and passwords as they work fine loaded into my browser. So I can test the page I'm willing to monitor.

    Once I enter everything in the authentication tab of the scenario, I get: Problem with the local SSL certificate: unable to load client key: -8178 (SEC_ERROR_BAD_KEY)

    I've verified the file numerous times. I've tested having the auth made in 2 files or only one without password as per Zabbix's manual to no avail.

    Does anyone have an idea?

    Thanks.
  • jan.garaj
    Senior Member
    Zabbix Certified Specialist
    • Jan 2010
    • 506

    #2
    Maybe you are using wrong key format (PKCS). Zabbix supports PEM format only. https://www.zabbix.com/documentation...web_monitoring
    Devops Monitoring Expert advice: Dockerize/automate/monitor all the things.
    My DevOps stack: Docker / Kubernetes / Mesos / ECS / Terraform / Elasticsearch / Zabbix / Grafana / Puppet / Ansible / Vagrant

    Comment

    • dukejustice
      Junior Member
      • Dec 2015
      • 11

      #3
      Thanks for replying.

      I have veryfied I have not made that mistake. It is in PEM format and the same pem encoded file is being used successfully in other connections.

      I really think Zabbix 3 is at fault here.

      Thanks.

      Comment

      • jan.garaj
        Senior Member
        Zabbix Certified Specialist
        • Jan 2010
        • 506

        #4
        Increase zabbix server log level and then check zabbix server logs.
        Can you use your pem keys to make https connection from Zabbix server command line? Do you use your own CA? Is it valid (for example it can be expired key or not valid jey for auth) key?
        Devops Monitoring Expert advice: Dockerize/automate/monitor all the things.
        My DevOps stack: Docker / Kubernetes / Mesos / ECS / Terraform / Elasticsearch / Zabbix / Grafana / Puppet / Ansible / Vagrant

        Comment

        Working...