> ## Documentation Index
> Fetch the complete documentation index at: https://docs.arc.cdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Creates a public/private certificate key pair that can be used for encryption, signing, decryption, verification, SSL/TLS, and so on.

> Creates a public/private certificate key pair that can be used for encryption, signing, decryption, verification, SSL/TLS, and so on.



## OpenAPI

````yaml 26.3/cloud/en/api-reference/openapi.json POST /createCert
openapi: 3.0.1
info:
  title: RSSBus OpenAPI
  version: 26.3.9712.0
servers:
  - url: '{baseUrl}'
    variables:
      baseUrl:
        default: https://arc.example.com/api.rsc
        description: >-
          Base URL of your Arc instance, including scheme and application path
          (e.g. https://arc.example.com/api.rsc).
security: []
paths:
  /createCert:
    post:
      tags:
        - createCert
      summary: >-
        Creates a public/private certificate key pair that can be used for
        encryption, signing, decryption, verification, SSL/TLS, and so on.
      description: >-
        Creates a public/private certificate key pair that can be used for
        encryption, signing, decryption, verification, SSL/TLS, and so on.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/createCert_input'
        required: true
      responses:
        '200':
          description: The action result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/createCert_output'
        default:
          description: Unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CDataError'
      security:
        - authtoken_header: []
        - basic: []
        - authtoken_query: []
components:
  schemas:
    createCert_input:
      type: object
      required:
        - Filename
        - CommonName
        - Serialnumber
        - Password
      properties:
        Filename:
          type: string
          description: >-
            The file name of the certificate to create, without an extension.
            Arc automatically adds the .pfx or .cer extension.
        CommonName:
          type: string
          description: >-
            The primary identifier for the certificate, typically a domain name
            (such as server.company.com) or descriptive name.
        Serialnumber:
          type: string
          description: >-
            A unique numeric identifier for the certificate, used to distinguish
            it from other certificates with the same subject.
        Password:
          type: string
          description: >-
            The password that protects the private key in the generated
            certificate file.
        Country:
          type: string
          description: >-
            The two-letter ISO country code for the certificate subject (such as
            US or GB).
        Email:
          type: string
          description: >-
            The email address associated with the certificate holder or
            administrator.
        Expiration:
          type: string
          description: >-
            The number of years from creation until the certificate expires and
            is no longer valid. The default is 1 year.
          default: '1'
        KeySize:
          type: string
          description: >-
            The length of the cryptographic key in bits. Larger values provide
            stronger security, but performance can be slower. The default is
            2048.
          default: '2048'
        PublicKeyType:
          type: string
          description: The format standard for the public key portion of the certificate.
          default: X.509
        SignatureAlgorithm:
          type: string
          description: >-
            The cryptographic hashing algorithm used to sign the certificate
            (such as SHA256, SHA384, or SHA512). The default is SHA256.
          default: SHA256
        Locality:
          type: string
          description: The city or locality where the certificate holder is located.
        Organization:
          type: string
          description: >-
            The legal name of the company or organization that owns the
            certificate.
        OrganizationalUnit:
          type: string
          description: >-
            The department or division within the organization (such as IT or
            Engineering).
        State:
          type: string
          description: >-
            The state, province, or region where the certificate holder is
            located.
    createCert_output:
      type: array
      items:
        type: object
        properties:
          Name:
            type: string
            description: >-
              The complete filename of the newly created private certificate
              file, with a .pfx extension.
          Password:
            type: string
            description: >-
              The password protecting the private key, returned for confirmation
              or storage purposes.
          Pubname:
            type: string
            description: >-
              The filename of the corresponding public certificate file
              (typically with a .cer extension) that can be shared with
              partners.
    CDataError:
      type: object
      properties:
        error:
          $ref: '#/components/schemas/CDataInError'
    CDataInError:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
  securitySchemes:
    authtoken_header:
      type: apiKey
      in: header
      name: x-cdata-authtoken
    basic:
      scheme: basic
      type: http
    authtoken_query:
      type: apiKey
      in: query
      name: '@authtoken'

````