Skip to content

Commit

Permalink
Merge pull request #289 from OzJacobii/feature/SA-6284_SSL_Issue_Fix
Browse files Browse the repository at this point in the history
[Feature/SA-6284] SSL Issue Fix
  • Loading branch information
OzJacobii committed Mar 6, 2024
2 parents 092c7f1 + f0cbe31 commit 5ea6536
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
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["path"]
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 5ea6536

Please sign in to comment.