From 0001afc6af819e32e6710d5b322bf710370d7713 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=A3rebe=20-=20Romain=20GERARD?= Date: Thu, 4 Jan 2024 08:28:26 +0100 Subject: [PATCH] Update supported format for private key --- README.md | 4 ++-- src/main.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 16366e7..63be869 100644 --- a/README.md +++ b/README.md @@ -158,10 +158,10 @@ Options: The path prefix act as a secret to authenticate clients Disabled by default. Accept all path prefix. Can be specified multiple time --tls-certificate - [Optional] Use custom certificate (.pem) instead of the default embedded self signed certificate. + [Optional] Use custom certificate (pem) instead of the default embedded self signed certificate. The certificate will be automatically reloaded if it changes --tls-private-key - [Optional] Use a custom tls key (.pem) that the server will use instead of the default embedded one + [Optional] Use a custom tls key (pem, ec, rsa) that the server will use instead of the default embedded one The private key will be automatically reloaded if it changes -h, --help Print help diff --git a/src/main.rs b/src/main.rs index eb6247d..1509076 100644 --- a/src/main.rs +++ b/src/main.rs @@ -220,12 +220,12 @@ struct Server { )] restrict_http_upgrade_path_prefix: Option>, - /// [Optional] Use custom certificate (.pem) instead of the default embedded self signed certificate. + /// [Optional] Use custom certificate (pem) instead of the default embedded self signed certificate. /// The certificate will be automatically reloaded if it changes #[arg(long, value_name = "FILE_PATH", verbatim_doc_comment)] tls_certificate: Option, - /// [Optional] Use a custom tls key (.pem) that the server will use instead of the default embedded one + /// [Optional] Use a custom tls key (pem, ec, rsa) that the server will use instead of the default embedded one /// The private key will be automatically reloaded if it changes #[arg(long, value_name = "FILE_PATH", verbatim_doc_comment)] tls_private_key: Option,