fedora-copr / copr

RPM build system - upstream for https://copr.fedorainfracloud.org/
113 stars 61 forks source link

Configure a production Pulp instance #3450

Closed FrostyX closed 3 weeks ago

FrostyX commented 1 month ago

We currently use https://pulp.stage.devshift.net as our STG instance. According to @dkliban we won't be able to use Basic Auth but will need to switch to client certificates for authentication. The good thing is, we will be able to do the same for STG to test it.

This is how we can work with the certificates in python-requests - https://docs.python-requests.org/en/latest/user/advanced/#client-side-certificates

I also have some links on how to obtain the certificates but I'd rather not post them publicly. Please ping me if interested.

FrostyX commented 3 weeks ago

I think we can now close this:

FrostyX commented 3 weeks ago

The only problem we have is that STG instance uses authentication through user+password and stores all results on a storage provided by the Pulp instance, and production uses crt+key and we need to provide our own S3 bucket. This difference is too much, so we should work on unifying this.