Merge pull request #4925 from a-mccarthy/fix-4848
Update docs for flag to skip TLS validationpull/4934/head
commit
3552350780
|
@ -46,3 +46,20 @@ Error 116 represents certificate required as seen here in [error codes](https://
|
|||
Velero as a client does not include its certificate while performing SSL handshake with the server.
|
||||
From [TLS 1.3 spec](https://tools.ietf.org/html/rfc8446), verifying client certificate is optional on the server.
|
||||
You will need to change this setting on the server to make it work.
|
||||
|
||||
|
||||
## Skipping TLS verification
|
||||
|
||||
**Note:** The `--insecure-skip-tls-verify` flag is insecure and susceptible to man-in-the-middle attacks and meant to help your testing and developing scenarios in an on-premise environment. Using this flag in production is not recommended.
|
||||
|
||||
Velero provides a way for you to skip TLS verification on the object store when using the [AWS provider plugin](https://github.com/vmware-tanzu/velero-plugin-for-aws) or [Restic](restic.md) by passing the `--insecure-skip-tls-verify` flag with the following Velero commands,
|
||||
|
||||
* velero backup describe
|
||||
* velero backup download
|
||||
* velero backup logs
|
||||
* velero restore describe
|
||||
* velero restore log
|
||||
|
||||
If true, the object store's TLS certificate will not be checked for validity before Velero connects to the object store or Restic repo. You can permanently skip TLS verification for an object store by setting `Spec.Config.InsecureSkipTLSVerify` to true in the [BackupStorageLocation](api-types/backupstoragelocation.md) CRD.
|
||||
|
||||
Note that Velero's Restic integration uses Restic commands to do data transfer between object store and Kubernetes cluster disks. This means that when you specify `--insecure-skip-tls-verify` in Velero operations that involve interacting with Restic, Velero will add the Restic global command parameter `--insecure-tls` to Restic commands.
|
||||
|
|
Loading…
Reference in New Issue