Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Respect SSL_CERT_FILE environment variable #114

Merged
merged 1 commit into from Jun 27, 2016
Merged

Respect SSL_CERT_FILE environment variable #114

merged 1 commit into from Jun 27, 2016

Conversation

manveru
Copy link
Contributor

@manveru manveru commented Jun 27, 2016

This is important when you self-host CodeClimate and use your own certificate. The one in the repo is over 3 years old and can't cover all self-signed certificates either.

@gdiggs
Copy link
Contributor

gdiggs commented Jun 27, 2016

@manveru can you fix up the Code Climate issues here? I can merge and release when it is green!

@@ -13,6 +13,11 @@ def host
ENV["CODECLIMATE_API_HOST"] ||
"https://codeclimate.com"
end

def ca_file
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you make this method private?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should #host be private too then?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think host is called externally. I don't see this one needing to be called from outside the class, though

@manveru
Copy link
Contributor Author

manveru commented Jun 27, 2016

@gordondiggs all done :)

@gdiggs gdiggs merged commit 4c7339c into codeclimate:master Jun 27, 2016
@gdiggs
Copy link
Contributor

gdiggs commented Jun 27, 2016

@manveru if you update to v0.6.0 you will have this change!

@colmarius colmarius deleted the respect-ssl-cert-file branch June 28, 2016 07:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants