Property certificate challenge

Get-PropertyCertificateChallenge

Synopsis

Generate domain validation challenges.

Syntax

Get-PropertyCertificateChallenge [-CnamesFrom] <String> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

If you're using Default Domain Validation (DV) certificates, you can generate the domain validation challenges ahead of setting hostnames for your property.

Ordinarily, you get the challenges when you Add-PropertyHostname or Add-BucketHostname. This operation returns the validationCname object that you use to validate the certificate's domain.

For each requested property hostname, create a new CNAME record in the DNS configuration and map the object's hostname to the target.

Parameters

‑AccountSwitchKey

An account credential key that lets you move between accounts when using an API client enabled for multiple accounts. To find account switch keys, use Get-AccountSwitchKey.

‑CnamesFrom
Required

A comma-separated string containing the property hostnames to generate certificate domain validation challenges for. You can only specify property hostnames that you want to deploy using Default Domain Validation (DV) certificates.

‑EdgeRCFile

Your EdgeGrid resource file to authenticate your command. Defaults to ~/.edgerc.

‑Section

The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to default.

Related Links