Skip to content

add ability to import SSL Cert, Key, CA and Intermediate to host.cert.import #3762

@DonBower

Description

@DonBower

Is your feature request related to a problem? Please describe.
I cannot import all four SSL artifacts on my ESXi Host or vCenter Host without using SSH.

Describe the solution you'd like
add four arguments to the host.cert.import feature, which point to the respective files.

Describe alternatives you've considered
I can use SSH and do it manually, but that's a pain and I would like to automate the process.

Additional context

Usage: govc host.cert.import [OPTIONS] FILE

Install SSL certificate FILE on HOST.

If FILE name is "-", read certificate from stdin.

Options:
  -host=                 Host system [GOVC_HOST]
  -cert=                 File containing the .pem certificate
  -key=                  File containing the certificate private key
  -ca=                   File containing the Certificate Signing Authority
  -intermediate=         File containing the Intermediate Signing Authority

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions