mirror of
https://github.com/OutlineFoundation/outline-server.git
synced 2026-08-04 14:37:34 +00:00
Merge pull request #1134 from Jigsaw-Code/fortuna-key
feat(server): increase TLS key size
This commit is contained in:
commit
19ddaa2b15
1 changed files with 1 additions and 1 deletions
|
|
@ -263,7 +263,7 @@ function generate_certificate() {
|
|||
readonly SB_CERTIFICATE_FILE="${CERTIFICATE_NAME}.crt"
|
||||
readonly SB_PRIVATE_KEY_FILE="${CERTIFICATE_NAME}.key"
|
||||
declare -a openssl_req_flags=(
|
||||
-x509 -nodes -days 36500 -newkey rsa:2048
|
||||
-x509 -nodes -days 36500 -newkey rsa:4096
|
||||
-subj "/CN=${PUBLIC_HOSTNAME}"
|
||||
-keyout "${SB_PRIVATE_KEY_FILE}" -out "${SB_CERTIFICATE_FILE}"
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue