diff --git a/docs/en/reference/how_to_set_up_metadata_engine.md b/docs/en/reference/how_to_set_up_metadata_engine.md index c01a0f56add4..575bf0d56b70 100644 --- a/docs/en/reference/how_to_set_up_metadata_engine.md +++ b/docs/en/reference/how_to_set_up_metadata_engine.md @@ -125,9 +125,10 @@ juicefs format --storage s3 \ In the code mentioned above, we use the `rediss://` protocol header to enable mTLS functionality, and then use the following options to specify the path of the client certificate: -- `tls-cert-file`: The path of the client certificate. -- `tls-key-file`: The path of the private key. -- `tls-ca-cert-file`: The path of the CA certificate. It is optional. If it is not specified, the system CA certificate will be used. +- `tls-cert-file=`: The path of the client certificate. +- `tls-key-file=`: The path of the private key. +- `tls-ca-cert-file=`: The path of the CA certificate. It is optional. If it is not specified, the system CA certificate will be used. +- `insecure-skip-verify=true` It can skip verifying the server certificate. When specifying options in a URL, start with the `?` symbol and use the `&` symbol to separate multiple options, for example: `?tls-cert-file=client.crt&tls-key-file=client.key`. diff --git a/docs/zh_cn/reference/how_to_set_up_metadata_engine.md b/docs/zh_cn/reference/how_to_set_up_metadata_engine.md index 6c13b68fa48c..01054af1a27f 100644 --- a/docs/zh_cn/reference/how_to_set_up_metadata_engine.md +++ b/docs/zh_cn/reference/how_to_set_up_metadata_engine.md @@ -125,9 +125,10 @@ juicefs format --storage s3 \ 上面的示例代码使用 `rediss://` 协议头来开启 mTLS 功能,然后使用以下选项来指定客户端证书的路径: -- `tls-cert-file` 指定客户端证书的路径 -- `tls-key-file` 指定客户端密钥的路径 -- `tls-ca-cert-file` 指定签发客户端证书的 CA 证书路径,它是可选的,如果不指定,客户端会使用系统默认的 CA 证书进行验证。 +- `tls-cert-file=` 指定客户端证书的路径 +- `tls-key-file=` 指定客户端密钥的路径 +- `tls-ca-cert-file=` 指定签发客户端证书的 CA 证书路径,它是可选的,如果不指定,客户端会使用系统默认的 CA 证书进行验证。 +- `insecure-skip-verify=true` 可以用来跳过对服务端证书的验证 在 URL 指定选项时,以 `?` 符号开头,使用 `&` 符号来分隔多个选项,例如:`?tls-cert-file=client.crt&tls-key-file=client.key`。