Update certificate/key format in README.md (#210)

The code parses PEM-encoded certificates and private keys.
This commit is contained in:
Alexandru-Mihai Maftei 2024-01-03 08:37:50 +00:00 committed by GitHub
parent 16368f4f61
commit 666472c684
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -158,10 +158,10 @@ Options:
The path prefix act as a secret to authenticate clients The path prefix act as a secret to authenticate clients
Disabled by default. Accept all path prefix. Can be specified multiple time Disabled by default. Accept all path prefix. Can be specified multiple time
--tls-certificate <FILE_PATH> --tls-certificate <FILE_PATH>
[Optional] Use custom certificate (.crt) 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 The certificate will be automatically reloaded if it changes
--tls-private-key <FILE_PATH> --tls-private-key <FILE_PATH>
[Optional] Use a custom tls key (.key) that the server will use instead of the default embedded one [Optional] Use a custom tls key (.pem) that the server will use instead of the default embedded one
The private key will be automatically reloaded if it changes The private key will be automatically reloaded if it changes
-h, --help -h, --help
Print help Print help