Actions
Bug #44666
closedmgr/dashboard: error when enabling SSO with certificate file
Status:
Resolved
Priority:
High
Assignee:
Category:
Security & Auth
Target version:
% Done:
0%
Source:
Tags:
Backport:
octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Description
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:
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)
Updated by Alfonso Martínez about 4 years ago
- Subject changed from mgr/dashboard: error when enbaling SSO with certificate to mgr/dashboard: error when enabling SSO with certificate file
- Description updated (diff)
- Status changed from In Progress to Fix Under Review
- Pull request ID set to 34033
Updated by Alfonso Martínez about 4 years ago
- Backport changed from octopus nautilus to octopus
Updated by Lenz Grimmer about 4 years ago
- Status changed from Fix Under Review to Pending Backport
Fix for Nautilus: https://github.com/ceph/ceph/pull/34129 (not cherry-picked)
Updated by Alfonso Martínez about 4 years ago
- Copied to Backport #44932: octopus: mgr/dashboard: error when enabling SSO with certificate file added
Updated by Lenz Grimmer about 4 years ago
- Status changed from Pending Backport to Resolved
Updated by Ernesto Puerta about 3 years ago
- Project changed from mgr to Dashboard
- Category changed from 145 to Security & Auth
Actions