mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-02 16:19:09 +02:00
Mutual SSL authentication
This commit is contained in:
parent
be301c6931
commit
85e8d02e5b
9 changed files with 164 additions and 30 deletions
|
@ -67,7 +67,13 @@ struct ClientSettings
|
|||
/// server port
|
||||
size_t port{1704};
|
||||
/// server certificate
|
||||
std::optional<std::filesystem::path> certificate;
|
||||
std::optional<std::filesystem::path> server_certificate;
|
||||
/// Certificate file
|
||||
std::filesystem::path certificate;
|
||||
/// Private key file
|
||||
std::filesystem::path certificate_key;
|
||||
/// Password for encrypted key file
|
||||
std::string key_password;
|
||||
/// Is ssl in use?
|
||||
bool isSsl() const
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue