Commit ffb9d60a authored by André Berenguel's avatar André Berenguel Committed by Guus der Kinderen

Improve certificate signatures with SHA-2 functions

Conflicts:
	src/java/org/jivesoftware/openfire/keystore/IdentityStore.java
parent 93a49fe9
......@@ -389,12 +389,12 @@ public class IdentityStore extends CertificateStore
{
case "RSA":
keySize = JiveGlobals.getIntProperty( "cert.rsa.keysize", 2048 );
signAlgorithm = "SHA1WITHRSAENCRYPTION";
signAlgorithm = "SHA256WITHRSAENCRYPTION";
break;
case "DSA":
keySize = JiveGlobals.getIntProperty( "cert.dsa.keysize", 1024 );
signAlgorithm = "SHA1withDSA";
signAlgorithm = "SHA256withDSA";
break;
default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment