Commit 45cb0091 authored by Guus der Kinderen's avatar Guus der Kinderen

Merge pull request #527 from guusdk/aberenguel-certificate-issues

Improve certificate signatures with SHA-2 functions
parents 93a49fe9 ffb9d60a
......@@ -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