Write certificate to Mifare 1K - certutil stops

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Write certificate to Mifare 1K - certutil stops

2,214 Views
reha9
Contributor I

Hello,

I want to write certificates to Mifare 1K NFC cards (ATR: 3b 8f 80 01 80 4f 0c a0 00 00 03 06 03 00 01 00 00 00 00 6a) under windows10.

Smartcard reader is the ACR122.

In DeviceManager smartcard reader and smartcard is available -> Pic3.PNG

With gpedit - smartcard PnP off - it doesnt work.

cmd #################################

certutil -csp "Microsoft Base Smart Card Crypto Provider" -importpfx apiuser.pfx

Ends in an error dialog: Smartcard requires driver, that does not exists on the system.. -> Pic2.PNG

certutil -scinfo
Die Microsoft Smartcard-Ressourcenverwaltung wird ausgeführt.
Aktueller Leser-/Kartenstatus:
Leser: 1
  0: ACS ACR122 0
--- Leser: ACS ACR122 0
--- Status: SCARD_STATE_PRESENT
--- Status: Die Smartcard kann verwendet werden.
---  Karte:
---    ATR:
        3b 8f 80 01 80 4f 0c a0  00 00 03 06 03 00 01 00   ;....O..........
        00 00 00 6a                                        ...j


=======================================================
Karte im Leser wird analysiert: ACS ACR122 0
SCardGetCardTypeProviderName: Das System kann die angegebene Datei nicht finden. 0x2 (WIN32: 2 ERROR_FILE_NOT_FOUND)
Anbietername kann nicht abgerufen werden für SCardGetCardTypeProviderName: Das System kann die angegebene Datei nicht finden. 0x2 (WIN32: 2 ERROR_FILE_NOT_FOUND)
Anbietername kann nicht abgerufen werden für
--------------===========================--------------
CertUtil: -SCInfo-Befehl ist fehlgeschlagen: 0x2 (WIN32: 2 ERROR_FILE_NOT_FOUND)
CertUtil: Das System kann die angegebene Datei nicht finden.

####################################################################################

It seems, I have to initialize the smartcard (put the provider name to the card).

Under regedit: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\ there are many entries (including installed OpenSC), but no one with ATR 3b 8f 80 01 80 4f 0c a0 00 00 03 06 03 00 01 00 00 00 00 6a. -> Pic1.PNG

What I have to do, to put certificates to the smartcard (blank card/first use)?

0 Kudos
1 Reply

1,513 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Hi Remo,

Actually ACR122 is not a NXP product, so you have to ask help from ACS on how to use this reader to certificate Mifare 1K. you may refer to Advanced Card Systems Ltd. - ACS Worldwide | Smart Card Readers  for details.

Hope that helps,


Have a great day,
Kan

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos