Project

Profile

Help

Test #5036

closed

Test that syncing protected content works

Added by dkliban@redhat.com over 5 years ago. Updated about 3 years ago.

Status:
CLOSED - DUPLICATE
Priority:
High
Assignee:
-
Platform Release:
Tags:
Sprint:
Quarter:

Description

Ticket moved to GitHub: "pulp/pulp_file/614":https://github.com/pulp/pulp_file/issues/614


File Remote supports syncing from protected repositories. Users must provide an 'ssl_client_key' and 'ssl_client_certificate' when creating a File Remote[0].

The following should cover this use case.

1) Create repository
2) Create a repository version with some content
3) Create a publication
4) Create a content guard
5) Create distribution that is associated with the publication and the content guard.
6) Create another repository
7) Create a remote that has a URL pointing at the Distribution from step 5 and uses the client certificate for the content guard
8) Create a repository version for the second repository by syncing from the remote
9) Assert that the sync is successful
10) Update the remote with a different client certificate
11) Sync from the remote again
12) Assert a failure occurs.

[0] https://docs.pulpproject.org/en/3.0/nightly/restapi.html#operation/remotes_file_file_create


Related issues

Related to Pulp - Test #5270: Test - Syncing with ssl client certs and ca certCLOSED - DUPLICATEActions
Related to File Support - Issue #5352: Unable to sync using SSL certs from distribution with cert-guardsCLOSED - DUPLICATEActions
Actions #1

Updated by kersom over 5 years ago

  • Related to Test #5270: Test - Syncing with ssl client certs and ca cert added
Actions #2

Updated by kersom over 5 years ago

  • Related to Issue #5352: Unable to sync using SSL certs from distribution with cert-guards added
Actions #3

Updated by kersom over 5 years ago

  • Priority changed from Normal to High
Actions #4

Updated by pulpbot about 3 years ago

  • Description updated (diff)
  • Status changed from NEW to CLOSED - DUPLICATE

Also available in: Atom PDF