Added TLS support for API and many other TLS related changes.
This commit is contained in:
parent
92a258f142
commit
5b610e4dfe
38 changed files with 1601 additions and 178 deletions
|
@ -131,6 +131,17 @@ static inline const std::string &usage()
|
|||
u += " --no-nvml disable NVML (NVIDIA Management Library) support\n";
|
||||
# endif
|
||||
|
||||
# ifdef XMRIG_FEATURE_TLS
|
||||
u += "\nTLS:\n";
|
||||
u += " --tls-gen=HOSTNAME generate TLS certificate for specific hostname\n";
|
||||
u += " --tls-cert=FILE load TLS certificate chain from a file in the PEM format\n";
|
||||
u += " --tls-cert-key=FILE load TLS certificate private key from a file in the PEM format\n";
|
||||
u += " --tls-dhparam=FILE load DH parameters for DHE ciphers from a file in the PEM format\n";
|
||||
u += " --tls-protocols=N enable specified TLS protocols, example: \"TLSv1 TLSv1.1 TLSv1.2 TLSv1.3\"\n";
|
||||
u += " --tls-ciphers=S set list of available ciphers (TLSv1.2 and below)\n";
|
||||
u += " --tls-ciphersuites=S set list of available TLSv1.3 ciphersuites\n";
|
||||
# endif
|
||||
|
||||
u += "\nLogging:\n";
|
||||
|
||||
# ifdef HAVE_SYSLOG_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue