| Summary: | Development Deployment Error | ||
|---|---|---|---|
| Product: | [Community] Candlepin | Reporter: | Filip Nguyen <fnguyen> |
| Component: | candlepin | Assignee: | Kevin Howell <khowell> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Katello QA List <katello-qa-list> |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.0 | CC: | awood, khowell, redakkan, skallesh, vrjain |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | candlepin-2.0.20-1 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-16 09:16:37 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Filip Nguyen
2016-10-06 10:20:08 UTC
In the candlepin_api.rb code I do not see any code that actually tells the Candlepin class about the CA that signed the Candlepin server's certificate. Without knowing who the CA is, the TLS/SSL connection is going to fail with a "certificate verify" error. Lots of libraries are sloppy about enforcing the requirement that the CA be known so it wouldn't suprise me if older versions weren't throwing this error. You can see in https://github.com/rest-client/rest-client/blob/master/lib/restclient/request.rb#L7 that the RestClient module accepts options for ssl_ca_file and such that we are not sending in when we construct a RestClient::Resource. I'll wager that's what the problem is. The CA will be the Candlepin cert under /etc/candlepin/certs/candlepin-ca.crt. |