From c1b06c8d499ecf41db3ebca64c84c078c6f2107a Mon Sep 17 00:00:00 2001 From: CN_SZTL Date: Sat, 9 Nov 2019 22:54:44 +0800 Subject: [PATCH] uhttpd: adjust tls settings --- package/network/services/uhttpd/files/uhttpd.config | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package/network/services/uhttpd/files/uhttpd.config b/package/network/services/uhttpd/files/uhttpd.config index 39089ca25b..7a1ddeb221 100644 --- a/package/network/services/uhttpd/files/uhttpd.config +++ b/package/network/services/uhttpd/files/uhttpd.config @@ -10,7 +10,7 @@ config uhttpd main list listen_https [::]:443 # Redirect HTTP requests to HTTPS if possible - option redirect_https 1 + option redirect_https 0 # Server document root option home /www @@ -119,10 +119,10 @@ config cert defaults option days 730 # key type: rsa or ec - option key_type rsa + option key_type ec # RSA key size - option bits 2048 + option bits 256 # EC curve name # Curve names vary between mbedtls/px5g and openssl @@ -130,9 +130,9 @@ config cert defaults option ec_curve P-256 # Location - option country ZZ - option state Somewhere - option location Unknown + option country CTCGFW + option state Project-OpenWrt + option location SNAPSHOT # Common name option commonname '%D'