Skip to content

Commit

Permalink
Handle CA verification using --os-cacert CLI option
Browse files Browse the repository at this point in the history
  • Loading branch information
Dany9966 committed Jul 26, 2024
1 parent 329fde6 commit a125eca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion coriolisclient/cli/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,9 @@ def create_keystone_session(

auth = method(**kwargs)

return session.Session(auth=auth, verify=not args.insecure)
verify = args.os_cacert or not args.insecure

return session.Session(auth=auth, verify=verify)

def create_client(self, args):
created_client = None
Expand Down

0 comments on commit a125eca

Please sign in to comment.