Das Problem liegt ja nur daran das bei JAVA 7 das MD2 standardmäßig deaktiviert ist.
Nach dem ich mich mal in Netz ein wenig umgesehen habe, habe ich folgenden Workaround gefunden.
It seemed like a relatively simple task to automate a web transaction on a secure site using Selenium WebDriver and HtmlUnit, until I got this exception:
java.security.cert.CertificateException: Certificates does not conform to algorithm constraints
After ages trying to figure out how to get around it, the solution is simple…
JDK7 changed the default Java security settings to disable MD2 algorithm to sign SSL certificates. BUT this can be re-enabled by editing JDK_HOME/jre/lib/security/java.security and commenting out the following line:
jdk.certpath.disabledAlgorithms=MD2
… becomes …
#jdk.certpath.disabledAlgorithms=MD2
Hope this helps someone else with the same issue!
Fazit: DKB VISA mit Jameica-Hibscus geht auch mit Java 7
Nach dem ich mich mal in Netz ein wenig umgesehen habe, habe ich folgenden Workaround gefunden.
Zitat
It seemed like a relatively simple task to automate a web transaction on a secure site using Selenium WebDriver and HtmlUnit, until I got this exception:
java.security.cert.CertificateException: Certificates does not conform to algorithm constraints
After ages trying to figure out how to get around it, the solution is simple…
JDK7 changed the default Java security settings to disable MD2 algorithm to sign SSL certificates. BUT this can be re-enabled by editing JDK_HOME/jre/lib/security/java.security and commenting out the following line:
jdk.certpath.disabledAlgorithms=MD2
… becomes …
#jdk.certpath.disabledAlgorithms=MD2
Hope this helps someone else with the same issue!
Fazit: DKB VISA mit Jameica-Hibscus geht auch mit Java 7