Cb Response: cbssl Backup Broken
search cancel

Cb Response: cbssl Backup Broken

book

Article ID: 290435

calendar_today

Updated On:

Products

Carbon Black EDR (formerly Cb Response)

Issue/Introduction

[root@thiphfdcbscon ~]# /usr/share/cb/cbssl backup --out sslbak 
Enter password for backup: 
Confirm password: 
Object type <type 'buffer'> cannot be passed to C code 
Traceback (most recent call last): 
File "/usr/share/cb/virtualenv/lib/python2.7/site-packages/cb/utils/exceptions.py", line 70, in decorator 
File "/usr/share/cb/virtualenv/lib/python2.7/site-packages/cb/maintenance/cbssl/main.py", line 56, in main 
File "/usr/share/cb/virtualenv/lib/python2.7/site-packages/cb/utils/cli_cmd.py", line 33, in run_command 
File "/usr/share/cb/virtualenv/lib/python2.7/site-packages/cb/maintenance/cbssl/commands/backup/cmd_main.py", line 65, in execute 
File "/usr/share/cb/virtualenv/lib/python2.7/site-packages/cb/maintenance/cbssl/commands/backup/cmd_main.py", line 101, in _open_output_stream 
File "/usr/share/cb/virtualenv/lib/python2.7/site-packages/cb/utils/cb_crypto.py", line 281, in __init__ 
File "/usr/share/cb/virtualenv/lib/python2.7/site-packages/cb/utils/cb_crypto.py", line 284, in write 
File "/usr/share/cb/virtualenv/lib/python2.7/site-packages/cb/utils/cb_crypto.py", line 98, in push 
File "/usr/share/cb/virtualenv/lib/python2.7/site-packages/cb/utils/cb_crypto.py", line 303, in _write_data 
File "/usr/share/cb/virtualenv/lib/python2.7/site-packages/Crypto/Cipher/_mode_cfb.py", line 158, in encrypt 
c_uint8_ptr(plaintext), 
File "/usr/share/cb/virtualenv/lib/python2.7/site-packages/Crypto/Util/_raw_api.py", line 109, in c_uint8_ptr 
raise TypeError("Object type %s cannot be passed to C code" % type(data)) 
TypeError: Object type <type 'buffer'> cannot be passed to C code 

Environment

  • Cb Response Server: 6.2.3

Cause

Unknown.

Resolution

The workaround is to make a copy of /etc/cb/certs.