Generate Request

Generate Request

post

Generate a new Certificate Request.

Body

Generate a certificate request

namestring | nullableRequired

The name of the target Certificate.

siteIdinteger · int32Optional

Site ID in which to add the Certificate.

descriptionstring | nullableOptional

A user-defined Certificate description.

usagestring[Flag] · enumOptional

Certificate Usage Certificate Usage

Possible values:
enabledbooleanOptional

Whether to enable or disable the certificate being created.

keySizestring · enumOptional

Certificate Key Size Certificate Key Size

Possible values:
countryCodestring | nullableOptional

The Country Code for the certificate to be generated. By default, the country code from the PowerShell region information is used.

fullStateOrProvincestring | nullableOptional

The Full State or Province for the certificate to be generated.

citystring | nullableOptional

The City for the certificate to be generated.

organisationstring | nullableOptional

The Organisation for the certificate to be generated.

organisationUnitstring | nullableOptional

The Organisation Unit for the certificate to be generated.

emailstring | nullableRequired

The Email for the certificate to be generated.

commonNamestring | nullableRequired

The Common Name for the certificate to be generated.

alternateNamesstring | nullableOptional

The Alternate Names for the certificate to be generated. eg. IP:1.2.3.4,DNS:example.com

Responses
201

Created

application/json; api-version=1.0
post
/api/Certificates/GenerateRequest

Was this helpful?