mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-24 03:05:39 +01:00
cf7326cf18
* add replication case
964 B
964 B
Test 7-23- Replication verify remote cert
Purpose:
To verify that if the verify remote cert setting works.
Reference:
User guide
Environment:
- This test requires at least two Harbor instances run and available.
- The remote endpoint instance should be configured to use https and the remote harbor instance is set up with self-signed certificate.
Test Steps:
- Login source registry as admin user.
- In configuration page, make sure replication verify remote cert is checked on(by default).
- In replication page, add an https endpoint use self-signed cert. Click test connection button before save.
- In configuraiton page, uncheck replication verify remote cert checkbox and save.
- In replication page, choose the added https endpoint, and click test connection.
Expected Outcome:
- In step3, test will fail with a certificate error.
- In step5, the test will successful.
Possible Problems:
None