Skip to content

Commit

Permalink
Merge pull request #173 from xcp-ng/fix-tls-verif
Browse files Browse the repository at this point in the history
Add new `gencert` parameter
  • Loading branch information
stormi committed Sep 28, 2023
2 parents 0d076de + 0b414b8 commit 125f360
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 125f360

Please sign in to comment.