Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new gencert parameter #173

Merged
merged 1 commit into from
Sep 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading