diff --git a/opendj-core/src/test/java/org/forgerock/opendj/ldap/LDAPServer.java b/opendj-core/src/test/java/org/forgerock/opendj/ldap/LDAPServer.java index 16c7090335..f4bcccbbc5 100644 --- a/opendj-core/src/test/java/org/forgerock/opendj/ldap/LDAPServer.java +++ b/opendj-core/src/test/java/org/forgerock/opendj/ldap/LDAPServer.java @@ -520,7 +520,7 @@ public boolean isRunning() { static { final String password="keypassword"; try { - CertAndKeyGen keyGen=new CertAndKeyGen("RSA","SHA1WithRSA",null); + CertAndKeyGen keyGen=new CertAndKeyGen("RSA","SHA256WithRSA",null); keyGen.generate(2048); X509Certificate[] chain=new X509Certificate[1]; chain[0]=keyGen.getSelfCertificate(new X500Name("CN=localhost"), (long)1*3600);