New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interact with TLSv1 #43

rnelson0 opened this Issue Feb 16, 2016 · 1 comment


None yet
1 participant
Copy link

rnelson0 commented Feb 16, 2016

I use zabbixapi with puppet (via so the following may be slightly abstracted...

When my zabbix web frontend is configured to disable TLSV1:

SSLProtocol ALL -SSLv2 -SSLv3 -TLSV1

I receive SSL_connect errors:

Error: /Stage[main]/Zabbix::Resources::Web/Zabbix_host[]: Could not evaluate: SSL_connect SYSCALL returned=5 errno=0 state=SSLv2/v3 read server hello A

If I remove the -TLSV1 and restart httpd, I no longer receive the SSL_connect errors. I can otherwise interact with the zabbix web frontend via https and the SYSCALL error string shows up in numerous ruby projects, so I believe this is an issue with the zabbixapi gem itself. Let me know if I can do anything else to help troubleshoot this.


This comment has been minimized.

Copy link

rnelson0 commented Feb 17, 2016

This is a system ruby issue, not a zabbixapi issue, I will close this out.

For those curious, helps to enumerate the issue. The Zabbix server in this instance runs on EL6 with Ruby 1.8.7. There is only SSLv2 and 3 and TLSv1 support in Ruby's net/http module (versions moved to the front):

irb(main):004:0> OpenSSL::SSL.constants.grep(/OP_/)

By comparison, using EL7 and Ruby 2.0.0, there is support for versions beyond TLSv1:

irb(main):002:0> OpenSSL::SSL.constants.grep(/OP_/)

In this case, the fix is to have a newer system ruby. Hope that helps someone else.

@rnelson0 rnelson0 closed this Feb 17, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment