UiPath Documentation
automation-suite
2.2510
true
uipathctl 参考指南
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

uipathctl config tls-certificates update

在 Automation Suite 中使用 CA 证书和密钥更新 TLS 证书。

描述​

使用作为参数提供的 CA 证书和密钥更新 TLS 证书。

如果提供的密钥已加密,请使用 --password 标志指定解密密码。 该命令默认为 kubeconfig 文件中的当前上下文。 如果设置了 --kubeconfig 标志,则它使用该标志指定的 kubeconfig 文件。

uipathctl config tls-certificates update [flags]
uipathctl config tls-certificates update [flags]

示例​

# Update the tls certificates with the provided certificate paths and key path from the cluster
uipathctl config tls-certificates update --cert server.crt --cacert ca.crt --key server.key

# Update the tls certificates with the provided certificate paths and encrypted key path from the cluster
uipathctl config tls-certificates update --cert server.crt --cacert ca.crt --key server.key --password password

# Update the tls certificates with the provided certificate paths and key path from the cluster identified by the current context in the kubeconfig file
uipathctl config tls-certificates update --cert server.crt --cacert ca.crt --key server.key --kubeconfig cluster.kubeconfig
# Update the tls certificates with the provided certificate paths and key path from the cluster
uipathctl config tls-certificates update --cert server.crt --cacert ca.crt --key server.key

# Update the tls certificates with the provided certificate paths and encrypted key path from the cluster
uipathctl config tls-certificates update --cert server.crt --cacert ca.crt --key server.key --password password

# Update the tls certificates with the provided certificate paths and key path from the cluster identified by the current context in the kubeconfig file
uipathctl config tls-certificates update --cert server.crt --cacert ca.crt --key server.key --kubeconfig cluster.kubeconfig

选项​

      --cacert string      path to ca certificate
      --cert string        path to certificate
  -h, --help               help for update
      --key string         path to certificate key
      --namespace string   The namespace where UiPath Automation Suite is deployed (default "uipath")
      --password string    password for encrypted key
      --use-istio-cert     use existing tls certificates
      --cacert string      path to ca certificate
      --cert string        path to certificate
  -h, --help               help for update
      --key string         path to certificate key
      --namespace string   The namespace where UiPath Automation Suite is deployed (default "uipath")
      --password string    password for encrypted key
      --use-istio-cert     use existing tls certificates

从父命令继承的选项​

      --context string      name of the kubeconfig context to use
  -f, --force               override all user prompts to true
      --kubeconfig string   kubectl configuration file (default: ~/.kube/config)
      --log-format string   log format. one of [text,json] (default "text")
      --log-level string    set log level. one of [trace,debug,info,error] (default "info")
  -q, --quiet               suppress all output except for errors and warnings
      --timeout duration    timeout of the command (default: 90 minutes) (default 1h30m0s)
      --versions string     optional path to versions file
      --context string      name of the kubeconfig context to use
  -f, --force               override all user prompts to true
      --kubeconfig string   kubectl configuration file (default: ~/.kube/config)
      --log-format string   log format. one of [text,json] (default "text")
      --log-level string    set log level. one of [trace,debug,info,error] (default "info")
  -q, --quiet               suppress all output except for errors and warnings
      --timeout duration    timeout of the command (default: 90 minutes) (default 1h30m0s)
      --versions string     optional path to versions file
  • 描述​
  • 示例​
  • 选项​
  • 从父命令继承的选项​

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新