Skip to content

Commit

Permalink
Add new gencert parameter
Browse files Browse the repository at this point in the history
- A new param has been added: `cert_gid`
See: xapi-project/xen-api@c59ac16

Signed-off-by: BenjiReis <[email protected]>
  • Loading branch information
benjamreis committed Sep 28, 2023
1 parent 0d076de commit 0b414b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/xapi/tls_verification/test_tls_verification.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def test_break_cert(self, hostA1, hostA2_with_saved_cert):
hostA2 = hostA2_with_saved_cert
logging.info(f"Replace the certificate on host {hostA2}")
hostA2.ssh(['rm', XAPI_POOL_PEM_FILEPATH])
hostA2.ssh(['/opt/xensource/libexec/gencert', XAPI_POOL_PEM_FILEPATH, 'xapi:pool'])
hostA2.ssh(['/opt/xensource/libexec/gencert', XAPI_POOL_PEM_FILEPATH, '-1', 'xapi:pool'])
hostA2.ssh(['systemctl', 'reload-or-restart stunnel@xapi'])
# Restart toolstack on client host to clear any existing TLS connection
hostA1.restart_toolstack(True)
Expand Down

0 comments on commit 0b414b8

Please sign in to comment.