mirror of
https://github.com/rclone/rclone.git
synced 2025-12-11 22:14:05 +01:00
fs: tls: add --client-pass support for encrypted --client-key files
This also widens the supported types
- Unencrypted PKCS#1 ("BEGIN RSA PRIVATE KEY")
- Unencrypted PKCS#8 ("BEGIN PRIVATE KEY")
- Encrypted PKCS#8 ("BEGIN ENCRYPTED PRIVATE KEY")
- Legacy PEM encryption (e.g., DEK-Info headers), which are automatically detected.
This commit is contained in:
@@ -3000,6 +3000,20 @@ The `--client-key` flag is required too when using this.
|
||||
This loads the PEM encoded client side private key used for mutual TLS
|
||||
authentication. Used in conjunction with `--client-cert`.
|
||||
|
||||
Supported types are:
|
||||
|
||||
- Unencrypted PKCS#1 ("BEGIN RSA PRIVATE KEY")
|
||||
- Unencrypted PKCS#8 ("BEGIN PRIVATE KEY")
|
||||
- Encrypted PKCS#8 ("BEGIN ENCRYPTED PRIVATE KEY")
|
||||
- Legacy PEM encryption (e.g., DEK-Info headers), which are automatically detected.
|
||||
|
||||
### --client-pass string
|
||||
|
||||
This can be used to supply an optional password to decrypt the client key file.
|
||||
|
||||
**NB** the password should be obscured so it should be the output of
|
||||
`rclone obscure YOURPASSWORD`.
|
||||
|
||||
### --no-check-certificate
|
||||
|
||||
`--no-check-certificate` controls whether a client verifies the
|
||||
|
||||
Reference in New Issue
Block a user