Project

General

Profile

Bug #44666

Updated by Alfonso Martínez about 4 years ago

When following instructions to enable SSO 
 [[https://docs.ceph.com/docs/master/mgr/dashboard/#dashboard-sso-support]] 

 and passing a certificate file path for signing and encryption, I get this error: 
 <pre> 
 Error EINVAL: Traceback (most recent call last): 
   File "/ceph/src/pybind/mgr/mgr_module.py", line 1153, in _handle_command 
     return self.handle_command(inbuf, cmd) 
   File "/ceph/src/pybind/mgr/dashboard/module.py", line 379, in handle_command 
     res = handle_sso_command(cmd) 
   File "/ceph/src/pybind/mgr/dashboard/services/sso.py", line 195, in handle_sso_command 
     sp_x_509_cert = f.read() 
   File "/usr/lib64/python3.6/encodings/ascii.py", line 26, in decode 
     return codecs.ascii_decode(input, self.errors)[0] 
 UnicodeDecodeError: 'ascii' codec can't decode byte 0xef in position 0: ordinal not in range(128) 
 </pre>

Back