uhttpd: adjust tls settings

This commit is contained in:
CN_SZTL 2019-11-09 22:54:44 +08:00
parent aa65f5f46d
commit c1b06c8d49
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -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'