Skip to content

Commit

Permalink
Merge pull request #107 from EGA-archive/increase_key_size
Browse files Browse the repository at this point in the history
Increase key size to 4096
  • Loading branch information
silverdaz committed Jun 14, 2020
2 parents 38dd926 + dfe901a commit 322467a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deploy/bootstrap/certs.cnf
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ emailAddress = optional

[ req ]
# Options for the `req` tool (`man req`).
default_bits = 2048
default_bits = 4096
distinguished_name = req_distinguished_name
string_mask = utf8only

Expand Down
2 changes: 1 addition & 1 deletion deploy/bootstrap/certs.mk
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ DOMAIN_EMAIL := -dev.ega@crg.eu
###############################################
../private/certs/%.sec.pem: | ../private/certs
@echo "Creating $(@F)"
@$(OPENSSL) genpkey -algorithm RSA -out $@ 2>../private/.err
@$(OPENSSL) genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:4096 -out $@ 2>../private/.err
@chmod 444 $@

# 444 instead of 400 to solve permission issues when docker-compose is injecting the files
Expand Down

0 comments on commit 322467a

Please sign in to comment.