Problem:
I am syncing some RHEL repos that use certificate to authenticate, these repos are configured with auto publish and sync task runs everyday. During Remote creation we supplied cert and key from local file in pulp server. However, sometimes that certificate changes or expires, can I use API to update Remote certificate/key without removing it? and if so, do I need to restart pulp services after change? or change is effective immediately after certificate update?
Plan is to use PATCH method with endpoint:
/pulp/api/v3/remotes/rpm/rpm/{pulp_id}/
and supply client_cert and client_key.
Expected outcome:
Pulpcore version:
“core”: “3.48.0”
Pulp plugins installed and their versions:
“versions”: {
“rpm”: “3.25.1”,
“core”: “3.48.0”,
“file”: “3.48.0”,
“certguard”: “3.48.0”
},
Operating system - distribution and version:
RHEL 9
Other relevant data: