# ip=<ip address>
# port=<port number>
# protocol=<ws|grpc> # ws/grpc -> kuksa-val-server, grpc -> databroker
-# insecure=<true|false> # Note: Use insecure mode only if server is also running in insecure mode
+# insecure=<True|False> # Note: Use insecure mode only if server is also running in insecure mode
# cacert=<default|/path/to/CA.pem>
# token=<default|/path/to/token>
# tls_server_name=<name>
ip=localhost
port=8090
protocol=ws
-insecure=false
+insecure=False
token=default
tls_server_name=
ip=localhost
port=55555
protocol=grpc
-insecure=false
+insecure=False
token=default
tls_server_name=Server
ip=localhost
port=8090
protocol=ws
-insecure=false
+insecure=False
cacert=default
token=default
tls_server_name=
ip=10.42.0.95
port=55555
protocol=grpc
-insecure=false
+insecure=False
cacert=default
token=default
tls_server_name=Server
KUKSA_CONFIG['ip'] = config[preferred_config]['ip']
KUKSA_CONFIG['port'] = config[preferred_config]['port']
KUKSA_CONFIG['protocol'] = config[preferred_config]['protocol']
- KUKSA_CONFIG['insecure'] = False if config[preferred_config]['insecure'] == 'false' else True
+ KUKSA_CONFIG['insecure'] = False if config[preferred_config]['insecure'] == 'False' else True
if config.has_option(preferred_config, 'cacert'):
KUKSA_CONFIG['cacertificate'] = config[preferred_config]['cacert'] if os.path.exists(
'token': "",
'tls_server_name': "",
}
- save_session_config(temp, 'default', 'default')
\ No newline at end of file
+ save_session_config(temp, 'default', 'default')