SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
fix tls grpc ca path
limde8296104fc71
diff --git a/weed/security/tls.go b/weed/security/tls.goindex 5821b159d4..72363768f9 100644--- a/weed/security/tls.go+++ b/weed/security/tls.go@@ -24,7 +24,7 @@ func LoadServerTLS(config *viper.Viper, component string) grpc.ServerOption {glog.V(1).Infof("load cert/key error: %v", err)return nil}- caCert, err := ioutil.ReadFile(config.GetString(component + ".ca"))+ caCert, err := ioutil.ReadFile(config.GetString("grpc.ca"))if err != nil {glog.V(1).Infof("read ca cert file error: %v", err)return nil@@ -45,7 +45,7 @@ func LoadClientTLS(config *viper.Viper, component string) grpc.DialOption {return grpc.WithInsecure()}- certFileName, keyFileName, caFileName := config.GetString(component+".cert"), config.GetString(component+".key"), config.GetString(component+".ca")+ certFileName, keyFileName, caFileName := config.GetString(component+".cert"), config.GetString(component+".key"), config.GetString("grpc.ca")if certFileName == "" || keyFileName == "" || caFileName == "" {return grpc.WithInsecure()}