Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
c3d7ae4a
Commit
c3d7ae4a
authored
May 24, 2016
by
Ad Schellevis
Committed by
Franco Fichtner
May 24, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(cert) Allow keysize up to 8192, closes
https://github.com/opnsense/core/issues/960
(cherry picked from commit
74428f5b
)
parent
31175631
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
system_camanager.php
src/www/system_camanager.php
+1
-1
system_certmanager.php
src/www/system_certmanager.php
+1
-1
No files found.
src/www/system_camanager.php
View file @
c3d7ae4a
...
...
@@ -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'
]))
{
...
...
src/www/system_certmanager.php
View file @
c3d7ae4a
...
...
@@ -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"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment