Closed
Description
I have a Pulp server (container deployment) behind a proxy (traefik).
The proxy uses a TLS certificate from a local CA.
The proxy presents the TLS server certificate and the intermediate certificate to the clients.
The host where Ansible runs hast the TLS root certificate stored in the OS trusted certificate store.
Other modules (rpm_remote, rpm_repository, rpm_sync, rpm_distribution) works fine with this configuration.
Running the delete_orphans module results in:
TASK [pulp_repos : Delete orphans] *********************************************
fatal: [pulp-api-dev]: FAILED! => changed=false
msg: 'HTTPSConnectionPool(host=''pulp.server'', port=443): Max retries exceeded with url: /pulp/api/v3/docs/api.json (Caused by SSLError(SSLCertVerificationError(1, ''[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)'')))'
Currently I use for the pulp.squeezer.delete_orphans module:
validate_certs: false
as a workaround.
Metadata
Metadata
Assignees
Labels
No labels