[Satellite 6.x] - Unable to browse/navigate https repositories even after using organisation debug certificate

Solution Verified - Updated -

Issue

  • Browsing Satellite repositories gives a 403 Forbidden error even after using the organisation's debug certificate
Forbidden

You don't have permission to access /pulp/repos/ACME_Corporation/Library/content/dist/rhel/server/6/6Server/x86_64/os on this server.
  • Unable to browse/navigate https repositories even after using organisation debug certificate with the below errors in /var/log/httpd/foreman-ssl_error_ssl.log
[error] [client XX.XX.XX.XX] mod_wsgi (pid=60587): Exception occurred processing WSGI script '/srv/pulp/repo_auth.wsgi'., referer: https://satellite.example.com/products/16/repositories/6
[error] [client XX.XX.XX.XX] Traceback (most recent call last):, referer: https://satellite.example.com/products/16/repositories/6
[error] [client XX.XX.XX.XX]   File "/srv/pulp/repo_auth.wsgi", line 34, in allow_access, referer: https://satellite.example.com/products/16/repositories/6
[error] [client XX.XX.XX.XX]     authorized = _handle(environ), referer: https://satellite.example.com/products/16/repositories/6
[error] [client XX.XX.XX.XX]   File "/srv/pulp/repo_auth.wsgi", line 71, in _handle, referer: https://satellite.example.com/products/16/repositories/6
[error] [client XX.XX.XX.XX]     result = f(environ), referer: https://satellite.example.com/products/16/repositories/6
[error] [client XX.XX.XX.XX]   File "/usr/lib/python2.6/site-packages/pulp_rpm/repo_auth/oid_validation.py", line 46, in authenticate, referer: https://satellite.example.com/products/16/repositories/6
[error] [client XX.XX.XX.XX]     environ["wsgi.errors"].write), referer: https://satellite.example.com/products/16/repositories/6
[error] [client XX.XX.XX.XX]   File "/usr/lib/python2.6/site-packages/pulp_rpm/repo_auth/oid_validation.py", line 120, in is_valid, referer: https://satellite.example.com/products/16/repositories/6
[error] [client XX.XX.XX.XX]     is_valid = self._check_extensions(cert_pem, dest, log_func), referer: https://satellite.example.com/products/16/repositories/6
[error] [client XX.XX.XX.XX]   File "/usr/lib/python2.6/site-packages/pulp_rpm/repo_auth/oid_validation.py", line 166, in _check_extensions, referer: https://satellite.example.com/products/16/repositories/6
[error] [client XX.XX.XX.XX]     cert = certificate.create_from_pem(cert_pem), referer: https://satellite.example.com/products/16/repositories/6
[error] [client XX.XX.XX.XX]   File "/usr/lib64/python2.6/site-packages/rhsm/certificate.py", line 64, in create_from_pem, referer: https://satellite.example.com/products/16/repositories/6
[error] [client XX.XX.XX.XX]     return _CertFactory().create_from_pem(pem), referer: https://satellite.example.com/products/16/repositories/6
[error] [client XX.XX.XX.XX]   File "/usr/lib64/python2.6/site-packages/rhsm/certificate2.py", line 74, in create_from_pem, referer: https://satellite.example.com/products/16/repositories/6
[error] [client XX.XX.XX.XX]     return self._read_x509(_certificate.load(pem=pem), path, pem), referer: https://satellite.example.com/products/16/repositories/6
[error] [client XX.XX.XX.XX]   File "/usr/lib64/python2.6/site-packages/rhsm/certificate2.py", line 100, in _read_x509, referer: https://satellite.example.com/products/16/repositories/6
[error] [client XX.XX.XX.XX]     raise CertificateException(str(e)), referer: https://satellite.example.com/products/16/repositories/6
[error] [client XX.XX.XX.XX] CertificateException: Invalid date Bad time value: Invalid month: Bad, referer: https://satellite.example.com/products/16/repositories/6
[error] [client XX.XX.XX.XX] mod_wsgi (pid=60587): Client denied by server configuration: '/var/www/pub/yum/https/repos/OE/Library/content/dist/rhel/server/5/5Server/x86_64/os'., referer:https://satellite.example.com/products/16/repositories/6

Environment

  • Red Hat Satellite 6.x
  • HTTPS Repositories
  • Debug Certificate

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.