Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Initialization failed (Probabil aveti un alt tip de SmartCard conectat. Deconectati alte tipuri de SmartCarduri (daca exista) si folositi optiunea "*autoDetect") #8

Open
borovetsdmytro opened this issue Nov 24, 2023 · 0 comments

Comments

@borovetsdmytro
Copy link

Hi there.
I run the command:
java -jar "/root/DUKIntegrator/dist/DUKIntegrator.jar" -c "/root/DUKIntegrator/dist/config" -s F2101 "/root/ANAF_test.xml" "/root/ANAF_test_err.txt" 0 "/root/ANAF_test.zip" "/root/ANAF_test.pdf" xxxxxxxxxxxxxxx aladdin 1

and have error:
Validare fara erori fisier: /root/ANAF_test.xml
Fisierul PDF a fost creat cu succes (cu fisier zip atasat):
/root/ANAF_test.xml.pdf
Eroare semnare PDF!
java.security.ProviderException: Initialization failed (Probabil aveti un alt tip de SmartCard conectat. Deconectati alte tipuri de SmartCarduri (daca exista) si folositi optiunea "*autoDetect")

I tried to use the "*autoDetect" option for smart card detection, but the application is unable to determine the declaration type.

The card is detected with pcsc:
root@28aa53d01a19:~# pcsc_scan
PC/SC device scanner
V 1.4.22 (c) 2001-2011, Ludovic Rousseau ludovic.rousseau@free.fr
Compiled with PC/SC lite version: 1.8.10
Using reader plug'n play mechanism
Scanning present readers...
0: Aladdin eToken PRO USB 72K Java
Reader 0: Aladdin eToken PRO USB 72K Java

Java version is openjdk version "1.8.0_292".

I would really appreciate it if u could help me. Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant