when I do not circumvent the proxy, curl failed on the cert
I looked into the proxy as a cause a bit further and ended up adjusting the proxy config in /etc/profile
As expected the curl test succeeded.
After restarting foreman the task no longer instantly fails on a certificate error.
We do however get a different error and the cleanup orphaned content task enters the paused state:
["The repository version cannot be deleted because it (or its publications) are currently being used to distribute content. Please update the necessary distributions first."]
We have cancelled the task and will look into this further ourselves first as for now the original issue of the cert error has been resolved.
Thank you for your assistance