1
0
mirror of https://github.com/x86dev/docker-ttrss synced 2025-12-13 09:56:02 +00:00

Use a stronger self-signed certificate (4096 bit).

This commit is contained in:
x86dev
2017-10-05 12:52:03 +02:00
parent 57bff00962
commit 552f7270e5
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ setup_nginx()
if [ ! -f "/etc/ssl/private/ttrss.key" ]; then
echo "Setup: Generating self-signed certificate ..."
# Generate the TLS certificate for our Tiny Tiny RSS server instance.
openssl req -new -newkey rsa:2048 -days 3650 -nodes -x509 \
openssl req -new -newkey rsa:4096 -days 3650 -nodes -x509 \
-subj "/C=US/ST=World/L=World/O=$TTRSS_HOST/CN=$TTRSS_HOST" \
-keyout "/etc/ssl/private/ttrss.key" \
-out "/etc/ssl/certs/ttrss.crt"