On MACOS 15.4 : java.security.KeyStoreException: PKCS11 not found
Hello,
I need to sign documents using an RGS** certificate and a Java applet.
No problem on macOS 10.x up to macOS 12.7.6
But it's impossible with macOS 15.4.
The JAVA console returns:
Provider type: APPLE
Looking for library: /Library/WebSmartPack/libidop11.dylib
Adding provider: SunPKCS11-Gemalto in position: 11
java.security.KeyStoreException: PKCS11 not found
at java.security.KeyStore.getInstance(KeyStore.java:944)
at com.atexo.serveurCryptographique.utilitaire.pkcs11.Pkcs11Handler.getKeyStore(Pkcs11Handler.java:88)
[...]
Caused by: java.security.NoSuchAlgorithmException: no such algorithm: PKCS11 for provider SunPKCS11-Gemalto
[...]
When the signature succeeds, the message is as follows:
Provider type: APPLE
Looking for library: /Library/WebSmartPack/libidop11.dylib
Added provider: SunPKCS11-Gemalto in position: 11
onSelect => Store Access Provider: PKCS11
The selected alias is: Gemalto - ......, ......
SmartCard: true
16:22:16.629 [SwingWorker-pool-3-thread-1] INFO e.e.e.d.v.CommonCertificateVerifier - + New CommonCertificateVerifier created.
[...]
Do you have any idea how to resolve this issue?
Is this related to privacy and security rules? If so, how and what should I change?
Thank's !
MacBook Pro 16″, macOS 15.4