Skip to content

Commit

Permalink
CRound 1
Browse files Browse the repository at this point in the history
  • Loading branch information
OzJacobii committed Mar 6, 2024
1 parent e22e2f5 commit f0cbe31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion axonius_api_client/cli/grp_certs/cmd_gui_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def cmd(
chain = cert_human.Cert.from_file(path=cert_file_path)
leaf_cert, _ = split_leaf(chain=chain)

input_file = leaf_cert.SOURCE.get("path") or leaf_cert.SOURCE.get("value")
input_file = leaf_cert.SOURCE.get('path') or leaf_cert.SOURCE.get('value')
_, valid_hosts = leaf_cert.is_valid_host(host=host)
ctx.obj.echo_ok(f"Host {host!r} is valid for certificate, is one of: {valid_hosts}")

Expand Down

0 comments on commit f0cbe31

Please sign in to comment.