uhttpd: rename certificate defaults section
[openwrt/openwrt.git] / package / network / services / uhttpd / files / uhttpd.config
index 059987c446ea99dbae2c722352f10e2d4bb11b08..fab516051433821e2837e57da90eba8f29a7ad4d 100644 (file)
@@ -83,7 +83,7 @@ config uhttpd main
        option tcp_keepalive    1
 
        # Basic auth realm, defaults to local hostname
-#      option realm    OpenWrt
+#      option realm    Lede
 
        # Configuration file in busybox httpd format
 #      option config   /etc/httpd.conf
@@ -104,14 +104,14 @@ config uhttpd main
 #      option no_ubusauth      0
 
 
-# Certificate defaults for px5g key generator
-config cert px5g
+# Defaults for automatic certificate and key generation
+config cert defaults
 
        # Validity time
        option days             730
 
        # RSA key size
-       option bits             1024
+       option bits             2048
 
        # Location
        option country          ZZ
@@ -119,4 +119,4 @@ config cert px5g
        option location         Unknown
 
        # Common name
-       option commonname       OpenWrt
+       option commonname       '%D'