Story #3780
closedAs a user, I can specify a 'ca_path' for the HTTP Notifier to use
100%
Description
The HTTP notifier makes a call back to a particular URL when a particular event occurs (e.g. sync or publish completes). A user can unknowingly install packages that change what CA store is used by Python when making requests. As a result the notifier stops working properly.
This feature will allow the user to specify the 'ca_path' when creating a notifier with a POST request[0] to /pulp/api/v2/events/. The CA at the 'ca_path' will then be used by the notifier when making a request to the URL specified in the notifier config[1]. When the 'ca_path' is not specified, the system CA store is used.
When the user retrieves a single notifier via REST API or lists the notifiers via REST API, the 'ca_path' needs to be included in the response.
The user should be able to update the notfier's ca_path.
[0] https://docs.pulpproject.org/dev-guide/integration/rest-api/event/crud.html#create-an-event-listener
[1] https://docs.pulpproject.org/dev-guide/integration/events/http.html#http-notifier
Support ca_path passed in configuration for http notifier. closes #3780