Skip to content

Commit

Permalink
When insecure flag is set to True in contrail-keystone-auth.conf,
Browse files Browse the repository at this point in the history
contrail-api fails to start as the cafile is not initialized.
Initializing cafile to empty string, to handle insecure connections.

Change-Id: I23e4fd8ba533000e041fc892845ccc0bbd50fc48
Closes-Bug: 1650697
  • Loading branch information
cijohnson committed Dec 17, 2016
1 parent 6223e65 commit 9c6d9ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/config/api-server/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ def parse_args(args_str):
'admin_user': '',
'admin_password': '',
'admin_tenant_name': '',
'insecure': True
'insecure': True,
'cafile': ''
}
# cassandra options
cassandraopts = {
Expand Down

0 comments on commit 9c6d9ca

Please sign in to comment.