increase rsa key size by default

This commit is contained in:
2024-07-07 19:06:28 +02:00
parent c3339ed8ce
commit 0ba46e3007

View File

@@ -32,7 +32,7 @@ public class CertificateTools {
public static KeyPair generateKeyPair() throws NoSuchAlgorithmException {
KeyPairGenerator keyGen = KeyPairGenerator.getInstance("RSA");
keyGen.initialize(1024); //FIXME:
keyGen.initialize(2048); //FIXME:
return keyGen.generateKeyPair();
}