Commit 74428f5b authored by Ad Schellevis's avatar Ad Schellevis

(cert) Allow keysize up to 8192, closes https://github.com/opnsense/core/issues/960

parent 0d169fc4
......@@ -129,7 +129,7 @@ function ca_inter_create(&$ca, $keylen, $lifetime, $dn, $caref, $digest_alg = 's
}
$ca_keylens = array( "512", "1024", "2048", "4096");
$ca_keylens = array( "512", "1024", "2048", "4096", "8192");
$openssl_digest_algs = array("sha1", "sha224", "sha256", "sha384", "sha512");
if (!is_array($config['cert'])) {
......
......@@ -86,7 +86,7 @@ $cert_methods = array(
"internal" => gettext("Create an internal Certificate"),
"external" => gettext("Create a Certificate Signing Request"),
);
$cert_keylens = array( "512", "1024", "2048", "4096");
$cert_keylens = array( "512", "1024", "2048", "4096", "8192");
$openssl_digest_algs = array("sha1", "sha224", "sha256", "sha384", "sha512");
......
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