Yum transaction on Red Hat Satellite client reports error [Errno 14] HTTPS Error 500 - Internal Server Error
Environment
- Red Hat Satellite 6
- Red Hat Capsule 6
Issue
yumtransaction on satellite client reports error[Errno 14] HTTPS Error 500 - Internal Server Error
Resolution
-
Update group level ownership on Satellite/Capsule of the certificate and key file so user
apachecan access it.# chown 0:48 /etc/pki/pulp/{ca.crt,rsa.key,rsa_pub.key}
For more KB articles/solutions related to Red Hat Satellite 6.x Client Subscription Issues, please refer to the Red Hat Satellite Consolidated Troubleshooting Article for Red Hat Satellite 6.x Client Subscription Issues
Root Cause
- Satellite/Capsule server is added to domain having
apacheuser.
Diagnostic Steps
-
Below error is logged in
/var/log/messageson Satellite/Capsule serverSep 1 08:12:06 host_name pulp: celery.app.trace:ERROR: [0ba8f068] (8776-89120) IOError: [Errno 13] Permission denied: '/etc/pki/pulp/rsa.key' Sep 1 08:18:54 host_name python: 2021-09-01T12:18:54.887705Z ERROR SendTelemetryHandler ExtHandler Event: name=WALinuxAgent, op=ReportEventErrors, message=DroppedEventsCount: 1 -
Numeric identifier of group level permissions on key and certificate file is not equal to 48
# ls -nl /etc/pki/pulp/{ca.crt,rsa.key,rsa_pub.key}
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.