diff options
author | Eneas U de Queiroz <cotequeiroz@gmail.com> | 2019-08-05 15:34:39 -0300 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-09-04 13:45:44 +0200 |
commit | 882052caae35989001e173f7a4affcb341c54e28 (patch) | |
tree | 72ce153a6adb3b96536bec7f11d5f564966d82bd /package/network/services/uhttpd/files/uhttpd.config | |
parent | ad4af2b8dff7c6786db8b789fd9e138b1c1e0d2b (diff) | |
download | upstream-882052caae35989001e173f7a4affcb341c54e28.tar.gz upstream-882052caae35989001e173f7a4affcb341c54e28.tar.bz2 upstream-882052caae35989001e173f7a4affcb341c54e28.zip |
uhttpd: add support to generate EC keys
This adds the key_type and ec_curve options to enable the generation of
EC keys during initialization, using openssl or the new options added to
px5g.
Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit 7f2b230b3b9d0a7fb758db3a9b1958845506a5a3)
Diffstat (limited to 'package/network/services/uhttpd/files/uhttpd.config')
-rw-r--r-- | package/network/services/uhttpd/files/uhttpd.config | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/package/network/services/uhttpd/files/uhttpd.config b/package/network/services/uhttpd/files/uhttpd.config index a3deb9cf04..39089ca25b 100644 --- a/package/network/services/uhttpd/files/uhttpd.config +++ b/package/network/services/uhttpd/files/uhttpd.config @@ -118,9 +118,17 @@ config cert defaults # Validity time option days 730 + # key type: rsa or ec + option key_type rsa + # RSA key size option bits 2048 + # EC curve name + # Curve names vary between mbedtls/px5g and openssl + # P-256 or P-384 are guaranteed to work + option ec_curve P-256 + # Location option country ZZ option state Somewhere |