Request-VCFCertificate

Synopsis

Generate certificate(s) for the selected resource(s) in a domain

Syntax

Request-VCFCertificate -domainName <string> -json <path to json file>

Description

The Request-VCFCertificate cmdlet generates certificate(s) for the selected resource(s) in a domain. CA must be configured and CSR must be generated beforehand ..* Resource Types (SDDC_MANAGER, PSC, VCENTER, NSX_MANAGER, NSXT_MANAGER, VRA, VRLI, VROPS, VRSLCM, VXRAIL_MANAGER

Examples

Example 1

Request-VCFCertificate -domainName MGMT -json .\requestCertificateSpec.json

This example requests the generation of the Certificates based on the entries within the requestCertificateSpec.json file for resources within the domain called MGMT

Parameters

-domainName

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None

-json

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None

Sample JSON

{
    "caType": "Microsoft",
    "resources": [ {
        "fqdn": "sfo-m01-nsx01.sfo.rainpole.io",
        "name": "sfo-m01-nsx01",
        "resourceId": "c98e10e4-0f1f-4fd3-8e99-104115291a13",
        "type": "NSX_MANAGER"
    }
  ]
}

Notes