Adds auth files to config.
This commit is contained in:
parent
ce8563f2a9
commit
4634968521
1 changed files with 9 additions and 5 deletions
|
|
@ -6,11 +6,15 @@ import (
|
|||
)
|
||||
|
||||
var (
|
||||
CAFile = configFile("ca.pem")
|
||||
ServerCertFile = configFile("server.pem")
|
||||
ServerKeyFile = configFile("server-key.pem")
|
||||
ClientCertFile = configFile("client.pem")
|
||||
ClientKeyFile = configFile("client-key.pem")
|
||||
CAFile = configFile("ca.pem")
|
||||
ServerCertFile = configFile("server.pem")
|
||||
ServerKeyFile = configFile("server-key.pem")
|
||||
RootClientCertFile = configFile("root-client.pem")
|
||||
RootClientKeyFile = configFile("root-client-key.pem")
|
||||
NobodyClientCertFile = configFile("nobody-client.pem")
|
||||
NobodyClientKeyFile = configFile("nobody-client-key.pem")
|
||||
ACLModelFile = configFile("model.conf")
|
||||
ACLPolicyFile = configFile("policy.csv")
|
||||
)
|
||||
|
||||
func configFile(filename string) string {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue