You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Go to Options > Certificate > PKCS#11 and try to add a cert;
Note that it shows a generic error (driver or pass wrong), in the log there's an exception:
63290 [AWT-EventQueue-0] ERROR org.parosproxy.paros.extension.option.OptionsCertificatePanel - Couldn't add key from XYZ
java.lang.NoSuchMethodException: sun.security.pkcs11.SunPKCS11.<init>(java.io.InputStream)
at java.base/java.lang.Class.getConstructor0(Class.java:3322)
at java.base/java.lang.Class.getConstructor(Class.java:2108)
at ch.csnc.extension.httpclient.SSLContextManager.createInstance(SSLContextManager.java:377)
at ch.csnc.extension.httpclient.SSLContextManager.createPKCS11Provider(SSLContextManager.java:366)
at ch.csnc.extension.httpclient.SSLContextManager.initPKCS11(SSLContextManager.java:352)
at org.parosproxy.paros.extension.option.OptionsCertificatePanel.addPkcs11ButtonActionPerformed(OptionsCertificatePanel.java:623)
at org.parosproxy.paros.extension.option.OptionsCertificatePanel.access$900(OptionsCertificatePanel.java:75)
at org.parosproxy.paros.extension.option.OptionsCertificatePanel$8.actionPerformed(OptionsCertificatePanel.java:381
ZAP
Version 2.7.0 (and older).
The text was updated successfully, but these errors were encountered:
Change SSLContextManager to call the new method available in Java 9 when
setting up the PKCS#11 provider.
Fixzaproxy#4147 - Unable to add PKCS#11 certs with Java 9
Steps to reproduce the issue:
ZAP
Version 2.7.0 (and older).
The text was updated successfully, but these errors were encountered: