Story #1279
closedAs a user, I would like to provide content source certs within the content source conf file
0%
Description
I am working on a small script that generates the needed configuration for Pulp to sync from an additional content source. It works, but requires four files:
- the conf file with the details of the additional content source
- a CA cert
- a client cert
- a client key
This requires me to create a tarball with these files and then extract it on the Pulp system in /etc/pulp/content/sources/conf.d.
A cleaner solution would be to have a conf file that contains the certs and config, so I only need one file. It would make my specific use case easier, but I think this would be generally useful to people setting up Pulp since it would make setup automation have fewer steps and fewer files controlled by config mgmt.
One way to implement this might be to check if 'ssl_ca_cert', 'ssl_client_cert', and 'ssl_client_key' are paths or certs, and do the right thing in both cases.