Add Ability to set custom key length in config

This commit is contained in:
Rob Desilets
2022-02-10 14:58:22 -06:00
parent 22a2fcb2ea
commit c25ba7fab9

View File

@@ -55,7 +55,7 @@ class Helper
{
$key = openssl_pkey_new([
'private_key_bits' => 4096,
'private_key_bits' => 2048,
'private_key_type' => OPENSSL_KEYTYPE_RSA,
]);
openssl_pkey_export($key, $pem);