Test version

Synopsis

Validate certificates.

Syntax

Test-METSCASetVersion [-AllowInsecureSha1] -Body <Object> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Test-METSCASetVersion -CertificatesFile <String> [-AllowInsecureSha1] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Test-METSCASetVersion -CertificatesDirectory <String> [-AllowInsecureSha1] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Validates a list of certificates either in a single PEM file or a directory of files, and returns validation results for each certificate. The operation fails if any certificate is invalid.

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.

‑AllowInsecureSha1

By default, the version's certificates need a signature algorithm of SHA-256 or better. Enabling this allows certificates with SHA-1 signatures.

‑Body
Conditionally required

A request body, either as a PSCustomObject or a string. This parameter supports pipelining.

‑CertificatesDirectory
Conditionally required

A folder to read individual certificates from. Files should contain base64-encoded certificates.

‑CertificatesFile
Conditionally required

A file containing one or more base64-encoded 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