v4

latestSwagger 2.0raw.githubusercontent.com2019-05-31182460.5 KB
POST

Verify certificate's private key possession.

Verifies the certificate's private key possession by providing the leaf cert issued by the verifying pre uploaded certificate.

post/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/certificates/{certificateName}/verify

Path parameters

certificateNamestring required

The mandatory logical name of the certificate, that the provisioning service uses to access.

subscriptionIdstring required

The subscription identifier.

resourceGroupNamestring required

Resource group name.

provisioningServiceNamestring required

Provisioning service name.

Query parameters

certificate.namestring

Common Name for the certificate.

certificate.rawBytesstring byte

Raw data of certificate.

certificate.isVerifiedboolean

Indicates if the certificate has been verified by owner of the private key.

certificate.purpose'clientAuthentication' | 'serverAuthentication'

Describe the purpose of the certificate.

certificate.createdstring date-time

Certificate creation time.

certificate.lastUpdatedstring date-time

Certificate last updated time.

certificate.hasPrivateKeyboolean

Indicates if the certificate contains private key.

certificate.noncestring

Random number generated to indicate Proof of Possession.

api-versionstring required

The version of the API.

Headers

If-Matchstring required

ETag of the certificate.

Request body

certificatestring

base-64 representation of X509 certificate .cer file or just .pem file content.

Response

OK

idstring

The resource identifier.

namestring

The name of the certificate.

etagstring

The entity tag.

typestring

The resource type.