Project

Profile

Help

Story #1279

closed

As a user, I would like to provide content source certs within the content source conf file

Added by cduryee over 8 years ago. Updated about 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

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.

Also available in: Atom PDF