cloudant / sabisu

A sensu web UI powered by Cloudant
https://sabisuapp.org
Apache License 2.0
31 stars 6 forks source link

Sensu API using SSL certs to authenticate (no user/password) #30

Closed marianogg9 closed 10 years ago

marianogg9 commented 10 years ago

Hi guys. Just wondering what if Sensu API uses SSL certification instead of user/pass. The question comes from an error I'm seeing with check_stashes.rb (https://github.com/cloudant/sabisu/blob/master/sensu-integration/check_stashes.rb) telling me there's a SSL_connect error: "An HTTP error occurred. SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: unknown protocol" I've used the same user/password I've used to set up sabisu service env variables (API_USER and API_PASSWORD).

Any ideas why? Thanks!

cbarraford commented 10 years ago

are you connecting to sensu over https on the correct port?

marianogg9 commented 10 years ago

Sorry, I was pointing to https instead of http. Closing.