diff options
author | Zoltan HERPAI <wigyori@uid0.hu> | 2017-11-07 09:45:56 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2017-12-08 19:41:18 +0100 |
commit | 2ffff58c2b8c69a8c6af60702ef962ad497c53ad (patch) | |
tree | cdfb5bdf11d5d5b06b0d62cab4a54cf8c487f511 | |
parent | d1ba4834720c243baca2b572e9575399ead6914a (diff) | |
download | upstream-2ffff58c2b8c69a8c6af60702ef962ad497c53ad.tar.gz upstream-2ffff58c2b8c69a8c6af60702ef962ad497c53ad.tar.bz2 upstream-2ffff58c2b8c69a8c6af60702ef962ad497c53ad.zip |
merge: uhttpd: update cert generation to match system defaults
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
-rwxr-xr-x | package/network/services/uhttpd/files/uhttpd.init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/services/uhttpd/files/uhttpd.init b/package/network/services/uhttpd/files/uhttpd.init index 6b8be1c7e4..47270bcc15 100755 --- a/package/network/services/uhttpd/files/uhttpd.init +++ b/package/network/services/uhttpd/files/uhttpd.init @@ -52,7 +52,7 @@ generate_keys() { [ -n "$GENKEY_CMD" ] && { $GENKEY_CMD \ -days ${days:-730} -newkey rsa:${bits:-2048} -keyout "${UHTTPD_KEY}.new" -out "${UHTTPD_CERT}.new" \ - -subj /C="${country:-DE}"/ST="${state:-Saxony}"/L="${location:-Leipzig}"/O="${commonname:-Lede}$UNIQUEID"/CN="${commonname:-Lede}" + -subj /C="${country:-ZZ}"/ST="${state:-Somewhere}"/L="${location:-Unknown}"/O="${commonname:-OpenWrt}$UNIQUEID"/CN="${commonname:-OpenWrt}" sync mv "${UHTTPD_KEY}.new" "${UHTTPD_KEY}" mv "${UHTTPD_CERT}.new" "${UHTTPD_CERT}" |