aboutsummaryrefslogtreecommitdiff
path: root/weed/command/scaffold.go
diff options
context:
space:
mode:
authorKonstantin Lebedev <lebedev_k@tochka.com>2021-03-08 21:39:44 +0500
committerKonstantin Lebedev <lebedev_k@tochka.com>2021-03-08 21:39:44 +0500
commit190fada1ef079186b6bc62feda5d571c5aaa274a (patch)
treebf721855d706a539ac4233f422122856d549198a /weed/command/scaffold.go
parentc6d3735605b9e643c1b1c8c4c9c35bc467c27c5e (diff)
downloadseaweedfs-190fada1ef079186b6bc62feda5d571c5aaa274a.tar.xz
seaweedfs-190fada1ef079186b6bc62feda5d571c5aaa274a.zip
TLS allowed commonNames
Diffstat (limited to 'weed/command/scaffold.go')
-rw-r--r--weed/command/scaffold.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/weed/command/scaffold.go b/weed/command/scaffold.go
index c2d53e4bd..79f827af5 100644
--- a/weed/command/scaffold.go
+++ b/weed/command/scaffold.go
@@ -444,18 +444,22 @@ ca = ""
[grpc.volume]
cert = ""
key = ""
+allowed_commonNames = ""
[grpc.master]
cert = ""
key = ""
+allowed_commonNames = ""
[grpc.filer]
cert = ""
key = ""
+allowed_commonNames = ""
[grpc.msg_broker]
cert = ""
key = ""
+allowed_commonNames = ""
# use this for any place needs a grpc client
# i.e., "weed backup|benchmark|filer.copy|filer.replicate|mount|s3|upload"
@@ -463,7 +467,6 @@ key = ""
cert = ""
key = ""
-
# volume server https options
# Note: work in progress!
# this does not work with other clients, e.g., "weed filer|mount" etc, yet.