automation-suite
2023.4
false
UiPath logo, featuring letters U and I in white

uipathctl Reference Guide

Last updated Nov 11, 2024

uipathctl config tls-certificates update

Description

Update the TLS certificates with the CA certificate and key provided as arguments.

If the provided key is encrypted, use the --password flag specifying the decryption password. The command defaults to the current context in the kubeconfig file. If the --kubeconfig flag is set, it uses the kubeconfig file specified by the flag.
uipathctl config tls-certificates update [flags]uipathctl config tls-certificates update [flags]

Examples

# 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

Options

--cacert string     path to ca certificate
--cert string       path to certificate
  -h, --help              help for update-tls-certificates
--key string        path to certificate key
--password string   password for encrypted key--cacert string     path to ca certificate
--cert string       path to certificate
  -h, --help              help for update-tls-certificates
--key string        path to certificate key
--password string   password for encrypted key

Options inherited from parent commands

--context string      name of the kubeconfig context to use
--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 "error")
--timeout duration    timeout of the command (default 1h0m0s)--context string      name of the kubeconfig context to use
--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 "error")
--timeout duration    timeout of the command (default 1h0m0s)
  • Description
  • Examples
  • Options
  • Options inherited from parent commands

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.