Skip to content
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

HTTP Check fails on self-signed certificate #32

Closed
alitheg opened this issue Feb 16, 2014 · 4 comments
Closed

HTTP Check fails on self-signed certificate #32

alitheg opened this issue Feb 16, 2014 · 4 comments

Comments

@alitheg
Copy link

alitheg commented Feb 16, 2014

Cabot fails the HTTP check upon encountering my internal services with self-signed certificates. I can't seem to find a way to instruct Cabot to accept this?

@dbuxton
Copy link
Contributor

dbuxton commented Feb 16, 2014

No, you'd have to do it yourself... You can see that in https://github.com/arachnys/cabot/blob/master/app/cabotapp/models.py#L499 we're forcing verification for HttpStatusChecks. (One of the things we want to be alerted to is invalid or expired certs).

We could easily have an option to configure this on the individual check level, if you add it I'll definitely merge it in. The only tricky thing to adding something like this if you're not familiar with Django is making sure that it gets added properly to the HttpStatusCheckForm (see https://github.com/arachnys/cabot/blob/master/app/cabotapp/views.py#L136) so the user can actually configure it!

@alitheg
Copy link
Author

alitheg commented Feb 16, 2014

Great thanks, I'll have a look

@dbuxton
Copy link
Contributor

dbuxton commented Feb 20, 2014

Fixed in 273643d

@dbuxton dbuxton closed this as completed Feb 20, 2014
@alitheg
Copy link
Author

alitheg commented Feb 20, 2014

Huh, great. Thanks!

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

No branches or pull requests

2 participants