Remove certificate fails when invoked from the SOAP API

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • VOMS-1020
    • Affects Version/s: VOMS Admin server v. 3.7.0
    • Component/s: admin-server
    • Security Level: Public (Visbile by non-authn users.)
    • None

      Remove certificate fails with an exception when invoked from the SOAP API:

      [root@6d3519dc8d45 ~]# voms-admin --vo test_0 --nousercert remove-certificate '/C=IT/O=IGI/CN=test1' '/C=IT/O=IGI/CN=Test CA'
      org.glite.security.voms.admin.persistence.error.VOMSDatabaseException: Inconsistent database! It was not possible to remove certificate '(/C=IT/O=IGI/CN=test1, /C=IT/O=IGI/CN=Test CA)' from user '[id=2,defaultCertficate=(/C=IT/O=IGI/CN=test1, /C=IT/O=IGI/CN=Test CA),name=ANDREA,surname=CECCANTI,emailAddress=aceccant@cern.ch,suspended=false,endTime=<null>]', even if it seemed user actually possessed such certificate.
      6d3519dc8d45.local.io 
      

      OTOH, remove certificates works fine when invoked from the VOMS Admin WebUI.

            Assignee:
            Andrea Ceccanti
            Reporter:
            Andrea Ceccanti
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: