dogtagpki / pki

The Dogtag Certificate System is an enterprise-class Certificate Authority (CA) which supports all aspects of certificate lifecycle management, including key archival, OCSP and smartcard management.
https://www.dogtagpki.org
GNU General Public License v2.0
374 stars 138 forks source link

PKI group delete i.e <subsystem>-group-del is failing for name 'abc?' with error: ResourceNotFoundException: No such object: No such object #4858

Open PsOverflow opened 1 month ago

PsOverflow commented 1 month ago

Issue: PKI group delete i.e -group-del is failing for name 'abc?' with error: ResourceNotFoundException: No such object: No such object

Version: OS: Fedora-40 Build: @pki/master dogtag-pki-11.6.0-0.1.alpha1.20240924234146UTC.9f04b768.fc40.x86_64

Steps to reproduce:

  1. Add group with name: abc?
pki -d /opt/pki/certdb -p 20443 -h pki1.example.com -c SECret.123 -n "PKI CA Administrator for Example.Org" ca-group-add abc?
------------------
Added group "abc?"
------------------
  Group ID: abc?
  1. Find group:
pki -d /opt/pki/certdb -p 20443 -h pki1.example.com -c SECret.123 -n "PKI CA Administrator for Example.Org" ca-group-find | grep abc
  Group ID: abc?
  1. Delete group:
pki -d /opt/pki/certdb -p 20443 -h pki1.example.com -c SECret.123 -n "PKI CA Administrator for Example.Org" ca-group-del "abc?"
ResourceNotFoundException: No such object: No such object

Note: Same scenario is failing for KRA as well.