Create Certificate Authority

Create Certificate Authority

Creates a certificate authority. This is required to generate signed certificates by supporting CAs.

Request
URI
PUT
https://sfo-vcf01.rainpole.io/v1/certificate-authorities
COPY
Request Body

certificateAuthorityCreationSpec

CertificateAuthorityCreationSpec of type(s) application/json
Required
{
    "microsoftCertificateAuthoritySpec": {
        "secret": "string",
        "serverUrl": "string",
        "templateName": "string",
        "username": "string"
    },
    "openSSLCertificateAuthoritySpec": {
        "commonName": "string",
        "country": "string",
        "locality": "string",
        "organization": "string",
        "organizationUnit": "string",
        "state": "string"
    }
}
microsoftCertificateAuthoritySpec
Optional

This specification contains Microsoft CA configuration details

openSSLCertificateAuthoritySpec
Optional

This specification contains OpenSSL CA configuration details

Responses
200

OK

Operation doesn't return any data structure

400

Bad request

Returns Error of type(s) */*
{
    "arguments": [
        "string"
    ],
    "causes": [
        {
            "message": "string",
            "type": "string"
        }
    ],
    "context": {
        "context": "string"
    },
    "errorCode": "string",
    "errorType": "string",
    "message": "string",
    "nestedErrors": [
        "Error Object"
    ],
    "referenceToken": "string",
    "remediationMessage": "string"
}
array of string
arguments
Optional

The arguments used to localize the message, Can be used by scripts to automate the error processing.

array of ErrorCause
causes
Optional

The underlying cause exceptions.

object
context
Optional

The error context (e.g. the component where it occurred).

string
errorCode
Optional

The minor error code

string
errorType
Optional

The error type

string
message
Optional

The localized error message

array of Error
nestedErrors
Optional

The nested errors when the error is a composite one

string
referenceToken
Optional

A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.

string
remediationMessage
Optional

The localized remediation error message


500

Internal server error

Returns Error of type(s) */*
{
    "arguments": [
        "string"
    ],
    "causes": [
        {
            "message": "string",
            "type": "string"
        }
    ],
    "context": {
        "context": "string"
    },
    "errorCode": "string",
    "errorType": "string",
    "message": "string",
    "nestedErrors": [
        "Error Object"
    ],
    "referenceToken": "string",
    "remediationMessage": "string"
}
array of string
arguments
Optional

The arguments used to localize the message, Can be used by scripts to automate the error processing.

array of ErrorCause
causes
Optional

The underlying cause exceptions.

object
context
Optional

The error context (e.g. the component where it occurred).

string
errorCode
Optional

The minor error code

string
errorType
Optional

The error type

string
message
Optional

The localized error message

array of Error
nestedErrors
Optional

The nested errors when the error is a composite one

string
referenceToken
Optional

A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.

string
remediationMessage
Optional

The localized remediation error message