-
Bug
-
Resolution: Done
-
Normal
-
rhel-8.9.0, rhel-9.3.0
-
None
-
None
-
rhel-sst-idm-ipa
-
ssg_idm
-
1
-
False
-
-
No
-
Red Hat Enterprise Linux
-
None
-
None
-
None
-
Unspecified Release Note Type - Unknown
-
None
What were you trying to do that didn't work?
Using the certmonger D-Bus API I am examining a tracking request's ca property which should return the D-Bus object path of the CA associated with the tracking request:
[root@ipa6 ~]# busctl get-property org.fedorahosted.certmonger /org/fedorahosted/certmonger/requests/Request13 org.fedorahosted.certmonger.request ca o "/org/fedorahosted/certmonger/requests/CA2"
Note the path returned and try to find it in the list of objects that exist on the bus:
[root@ipa6 ~]# busctl tree org.fedorahosted.certmonger └─/org └─/org/fedorahosted └─/org/fedorahosted/certmonger ├─/org/fedorahosted/certmonger/cas │ ├─/org/fedorahosted/certmonger/cas/CA1 │ ├─/org/fedorahosted/certmonger/cas/CA2 │ ├─/org/fedorahosted/certmonger/cas/CA3 │ ├─/org/fedorahosted/certmonger/cas/CA4 │ ├─/org/fedorahosted/certmonger/cas/CA5 │ ├─/org/fedorahosted/certmonger/cas/CA6 │ └─/org/fedorahosted/certmonger/cas/CA7 └─/org/fedorahosted/certmonger/requests ├─/org/fedorahosted/certmonger/requests/Request10 ├─/org/fedorahosted/certmonger/requests/Request11 ├─/org/fedorahosted/certmonger/requests/Request12 ├─/org/fedorahosted/certmonger/requests/Request13 ├─/org/fedorahosted/certmonger/requests/Request14 ├─/org/fedorahosted/certmonger/requests/Request3 ├─/org/fedorahosted/certmonger/requests/Request4 ├─/org/fedorahosted/certmonger/requests/Request5 ├─/org/fedorahosted/certmonger/requests/Request6 ├─/org/fedorahosted/certmonger/requests/Request7 ├─/org/fedorahosted/certmonger/requests/Request8 └─/org/fedorahosted/certmonger/requests/Request9
There is no object /org/fedorahosted/certmonger/requests/CA2.
The correct object path is /org/fedorahosted/certmonger/cas/CA2.
Please provide the package NVR for which bug is seen:
certmonger-0.79.17-1.el9.x86_64
certmonger-0.79.17-2.el8.x86_64
How reproducible:
Always
Steps to reproduce
- Install certmonger
- Request a certificate
- Use the D-Bus API to inspect the tracking request, obtain the ca property
- Use the D-Bus API to introspect the path obtained
Expected results
The path starts with /org/fedorahosted/certmonger/requests/
Actual results
The path should start with {{/org/fedorahosted/certmonger/cas