Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

list index out of range - ForestTrust #8

Open
retogobat opened this issue Mar 21, 2022 · 1 comment
Open

list index out of range - ForestTrust #8

retogobat opened this issue Mar 21, 2022 · 1 comment
Labels
bug Something isn't working enhancement New feature or request

Comments

@retogobat
Copy link

retogobat commented Mar 21, 2022

Hi,

We tried to implement CEPCES in a multi Forest setup, where the cert requestor is located in domain A and the CEP/CES Server in domain B.

For windows clients, everything is working fine. When setting up CEPCES on Linux, we get:

2022-03-21 10:46:30,270 cepces.certmonger.operation.FetchRoots<0x7f95246490>:DEBUG:Initializing cepces.certmonger.operation.FetchRoots<0x7f95246490>.
2022-03-21 10:46:30,278 __main__:ERROR:Traceback (most recent call last):
  File "/usr/local/libexec/certmonger/cepces-submit", line 69, in main
    result = operation()
  File "/usr/local/lib/python3.9/dist-packages/cepces-0.3.4-py3.9.egg/cepces/certmonger/operation.py", line 254, in __call__
    certs = list(self._service.certificate_chain or [])
  File "/usr/local/lib/python3.9/dist-packages/cepces-0.3.4-py3.9.egg/cepces/core.py", line 159, in certificate_chain
    data = self._policies.cas[index].certificate
  File "/usr/local/lib/python3.9/dist-packages/cepces-0.3.4-py3.9.egg/cepces/xml/binding.py", line 269, in __getitem__
    return self._list[key]
IndexError: list index out of range

When we join the cert requestor to the same domain as the CEP/CES Server, everything works fine.

certmonger version 0.79.13
sssd version 2.4.1

Regards

@dmulder dmulder added the bug Something isn't working label Mar 22, 2022
@raimiansch
Copy link

raimiansch commented Mar 16, 2023

Hello!
I want to use cepces on RHEL7/CentOS 7. I have the same error message like in this issue. Is there any solution available for this bug now?

2023-03-16 08:46:06,252 main:ERROR:Traceback (most recent call last):
File "/usr/libexec/certmonger/cepces-submit", line 80, in main
result = operation()
File "/usr/local/lib/python3.6/site-packages/cepces-0.3.7-py3.6.egg/cepces/certmonger/operation.py", line 254, in call
certs = list(self._service.certificate_chain or [])
File "/usr/local/lib/python3.6/site-packages/cepces-0.3.7-py3.6.egg/cepces/core.py", line 159, in certificate_chain
data = self._policies.cas[index].certificate
File "/usr/local/lib/python3.6/site-packages/cepces-0.3.7-py3.6.egg/cepces/xml/binding.py", line 269, in getitem
return self._list[key]

I have installed following:
atsl-armt02 ~ # rpm -qa | grep -i cep
cepces-0.3.6-1.el7.noarch
python36-cepces-0.3.6-1.el7.noarch
cepces-selinux-0.3.6-1.el7.noarch
cepces-certmonger-0.3.6-1.el7.noarch

certmonger 0.78.4
sssd 1.16.5

Thx for every help.
BR
Rainer

@dmulder dmulder added the enhancement New feature or request label Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants