Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1399856 - Error: Could not request certificate: Error 403 on SERVER: Forbidden request: SERVER_NAME(SEVER_IP) access to /certificate_revocation_list/ca [find] at :133
Summary: Error: Could not request certificate: Error 403 on SERVER: Forbidden request:...
Keywords:
Status: CLOSED DUPLICATE of bug 1233302
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Installation
Version: 6.2.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-29 22:27 UTC by Ian Tewksbury
Modified: 2016-12-02 21:04 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-02 20:07:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ian Tewksbury 2016-11-29 22:27:33 UTC
Description of problem:

[root@itewk-test puppet]# puppet agent -t
Info: Creating a new SSL key for itewk-test.rhc-lab.iad.redhat.com
Info: Caching certificate for ca
Info: csr_attributes file loading from /etc/puppet/csr_attributes.yaml
Info: Creating a new SSL certificate request for itewk-test.rhc-lab.iad.redhat.com
Info: Certificate Request fingerprint (SHA256): 29:A5:BC:20:D1:3F:9C:C9:1D:12:6A:BB:D1:0D:6C:B2:B0:15:01:45:92:F9:C5:CB:A7:0E:3F:95:E6:26:3B:50
Info: Caching certificate for itewk-test.rhc-lab.iad.redhat.com
Error: Could not request certificate: Error 403 on SERVER: Forbidden request: sat-cap-content-1.rhc-lab.iad.redhat.com(10.15.69.159) access to /certificate_revocation_list/ca [find] at :133
Exiting; failed to retrieve certificate and waitforcert is disabled


How reproducible:

Always


Actual results:

An error message when trying to run puppet.


Expected results:

No error message when trying to run puppet.


Additional info:

If I edit /etc/puppet/auth.conf to add `auth any` to the certificate_revocation_list path

from:

# allow all nodes to access the certificates services
path /certificate_revocation_list/ca
method find
allow *

to:

# allow all nodes to access the certificates services
path /certificate_revocation_list/ca
auth any
method find
allow *

and restart the httpd service then I no longer get the error.

This looks to be the same as one of the issues reported in https://bugzilla.redhat.com/show_bug.cgi?id=1260973 which says this had been resolved but as of 6.2.4 it does not seem to be resolved.

Comment 2 Stephen Benjamin 2016-12-02 19:04:01 UTC
Works for me just fine on 6.2.4 and a regular puppet client:

[root@puppet-client ~]# puppet agent --test
Info: Creating a new SSL key for puppet-client.example.com
Info: csr_attributes file loading from /etc/puppet/csr_attributes.yaml
Info: Creating a new SSL certificate request for puppet-client.example.com
Info: Certificate Request fingerprint (SHA256): EF:F7:76:1B:EF:62:EB:D9:82:32:F2:B2:F9:C2:B2:24:22:07:4D:BF:52:E5:46:50:2F:59:5D:1D:03:57:D7:A3
Exiting; no certificate found and waitforcert is disabled


auth any" isn't the correct solution, you're just turning all the auth off.

Sounds like you have something misconfigured, what did you change from a default install?

Comment 3 Ian Tewksbury 2016-12-02 19:50:50 UTC
@Stephen,

I am using a centralized Puppet CA on the Satellite Server and using the Puppet CA Proxy on the Capsule.

SO maybe that is the issue?

Let me know if there is any specific configs or something you need to see. I can also just give you access to my environment if you are curious.

Comment 4 Stephen Benjamin 2016-12-02 20:07:47 UTC
Indeed it is, per the puppet docs your change  is the right one:
  https://docs.puppet.com/guides/scaling_multiple_masters.html#option-2-proxy-certificate-traffic

We'll need to handle that in the installer as well as part of fixing BZ1233302.

Thanks!

*** This bug has been marked as a duplicate of bug 1233302 ***

Comment 5 Ian Tewksbury 2016-12-02 20:10:40 UTC
@stephen,

So to clarify, the solution is to set auth all and you all will work on including that in BZ1233302?

Comment 6 Stephen Benjamin 2016-12-02 21:04:20 UTC
Yup!


Note You need to log in before you can comment on or make changes to this bug.