pkcs15-init --store-certificate: Failed to store certificate: Non unique object ID

Graham Leggett <[email protected]> Wed, 29 Jan 2020 10:05:12 +0200
Newsgroups gmane.comp.encryption.opensc.devel
Message-ID <[email protected]>
Hi all,

When an attempt is made to load a renewed certificate onto a properly formatted and otherwise working smartcard as follows, the error "Non unique object ID" is returned as follows:

[root@gatekeeper ~]# pkcs15-init --store-certificate john.cer --label "John Smith (Globalsign)" --auth-id 01
Using reader with a card: ACS ACR 38U-CCID 00 00
Failed to store certificate: Non unique object ID

Can someone explain what this error is trying to tell me?

What is an “object ID” when it comes to a certificate?

There is a previous certificate on the same smartcard that is being renewed, does this previous certificate need to be removed before the replacement is added?

Regards,
Graham
—

_______________________________________________
Opensc-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensc-devel
smime.p7s (application/pkcs7-signature, 4.9 KB) - not displayed