Skip to content

Commit a125eca

Browse files
committedJul 26, 2024
Handle CA verification using --os-cacert CLI option
1 parent 329fde6 commit a125eca

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎coriolisclient/cli/shell.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,9 @@ def create_keystone_session(
148148

149149
auth = method(**kwargs)
150150

151-
return session.Session(auth=auth, verify=not args.insecure)
151+
verify = args.os_cacert or not args.insecure
152+
153+
return session.Session(auth=auth, verify=verify)
152154

153155
def create_client(self, args):
154156
created_client = None

0 commit comments

Comments
 (0)