feat/fix: add s3.cacert.file/tlsVerifyClientCert to filer command (#6659)
This prevent crash filler with nil pointer dereference as s3 expect this
parameters.
New two parameters are added to filer command - copy of s3 parameters:
- s3.cacert.file - path to the TLS CA certificate file
- s3.tlsVerifyClientCert - whether to verify the client's certificate
filerS3Options.allowDeleteBucketNotEmpty=cmdFiler.Flag.Bool("s3.allowDeleteBucketNotEmpty",true,"allow recursive deleting all entries along with bucket")
filerS3Options.allowDeleteBucketNotEmpty=cmdFiler.Flag.Bool("s3.allowDeleteBucketNotEmpty",true,"allow recursive deleting all entries along with bucket")
filerS3Options.localSocket=cmdFiler.Flag.String("s3.localSocket","","default to /tmp/seaweedfs-s3-<port>.sock")
filerS3Options.localSocket=cmdFiler.Flag.String("s3.localSocket","","default to /tmp/seaweedfs-s3-<port>.sock")
filerS3Options.tlsCACertificate=cmdFiler.Flag.String("s3.cacert.file","","path to the TLS CA certificate file")
filerS3Options.tlsVerifyClientCert=cmdFiler.Flag.Bool("s3.tlsVerifyClientCert",false,"whether to verify the client's certificate")
// start webdav on filer
// start webdav on filer
filerStartWebDav=cmdFiler.Flag.Bool("webdav",false,"whether to start webdav gateway")
filerStartWebDav=cmdFiler.Flag.Bool("webdav",false,"whether to start webdav gateway")