uhttpd: rename certificate defaults section
[openwrt/openwrt.git] / package / network / services / uhttpd / files / uhttpd.config
index 61f8a49b6f00ed3d1d189283744f100c101b55b3..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,19 +104,19 @@ 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
        option state            Somewhere
-       option location         Uknown
+       option location         Unknown
 
        # Common name
-       option commonname       OpenWrt
+       option commonname       '%D'