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

CA-371759: check certificates in xsh #4834

Merged
merged 1 commit into from
Oct 25, 2022
Merged

Conversation

robhoes
Copy link
Member

@robhoes robhoes commented Oct 25, 2022

This program is used to sync blobs across hosts in a pool. It should verify certificates, as for other TLS connections within a pool.

Signed-off-by: Rob Hoes rob.hoes@citrix.com

ocaml/xsh/xsh.ml Outdated
let file = Constants.verify_certificates_path in
match Sys.file_exists file with
| false ->
warn "TLS verification is disabled on this host: %s" file ;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be misleading: it points to a file that does not exist. So maybe:

"TLS verification is disabled on this host: %s is absent"

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True... I copied this from xapi.ml, so will change it there too.

This program is used to sync blobs across hosts in a pool. It should
verify certificates, as for other TLS connections within a pool.

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
@robhoes robhoes merged commit 75812e6 into xapi-project:master Oct 25, 2022
@robhoes robhoes deleted the xsh branch October 25, 2022 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants