Basic authentication support
This commit is contained in:
10
README.md
10
README.md
@@ -40,4 +40,14 @@ If you want to run with SSL, you have to generate a self-signed certificate, and
|
||||
### Start kordophone with the SSL options and provide the p12
|
||||
`kordophoned -s -c certificate.p12`
|
||||
|
||||
## Authentication
|
||||
Basic Authentication is also optional, but requires SSL to be enabled as well. To configure basic authentication, create a file containing your username and password on two separate lines encrypted with your GPG key.
|
||||
|
||||
`echo "username\npassword" > password.txt"`
|
||||
`gpg -e -r (your email) -o password.asc password.txt`
|
||||
|
||||
Then run kordophoned with the following option
|
||||
`kordophone -s -c certificate.p12 -a password.asc`
|
||||
|
||||
You may need to unlock your GPG keyring (via gpg-agent) when running kordophoned the first time.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user