Access official resources from Carbon Black experts
Environment
/usr/share/cb/cbssl -c /etc/cb/cb.conf sensor_certs --list
coercing to Unicode: need string or buffer, NoneType found
Traceback (most recent call last):
File "/home/azarembok/dev/cbent/code/coreservices/src/cb/utils/exceptions.py", line 70, in decorator
return_code = f(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/cb/maintenance/cbssl/main.py", line 56, in main
File "/home/azarembok/dev/cbent/code/coreservices/src/cb/utils/cli_cmd.py", line 33, in run_command
return self.execute()
File "/usr/lib/python2.6/site-packages/cb/maintenance/cbssl/commands/sensor_certs/cmd_main.py", line 97, in execute
File "/usr/lib/python2.6/site-packages/cb/utils/config.py", line 796, in load
File "/home/azarembok/dev/cbent/code/coreservices/src/cb/utils/configloader.py", line 56, in load
with open(path, "r") as f:
TypeError: coercing to Unicode: need string or buffer, NoneType found
There is a command line parsing issue in the 6.2 version of cbssl
This can be worked around by adding the -c option to the command line, e.g:
# /usr/share/cb/cbssl sensor_certs -c /etc/cb/cb.conf --list
Additional Information
This will be address in a future release and is currently being track by CB-17069
Copyright © 2005-2023 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.