/ca/new

Create a new Certification Authority.

Endpoint

https://www.tinycert.org/api/v1/ca/new (JSON)
https://www.tinycert.org/api/v1/ca/new.xml (XML)

Parameters

Crequired

ISO 3166-1 alpha-2 country code.

Example value

US

Orequired

Organisation Name for human identification of the CA. This name will be shown on the TinyCert dashboard and in reponse to /ca/list API calls.

Example value

ACME, Inc.

Loptional

Locality (city or town).

Example value

Chicago

SToptional

State or province name.

Example value

Illinois

hash_methodrequired

Hashing algorithm. Must be one of:

  • sha1 - SHA-1, for best compatibility
  • sha256 - SHA-256 (recommended), for best security
tokenrequired

Session identifier.

Return value

When a certificate has been successfully issued, the API call will return the numeric identifier for the new certificate.

ca_idinteger

New Certification Authority's identifier. This may be used in other API calls.

  1. Introduction
    1. Signing requests
    2. Error conditions
  2. API sessions
    1. /connect: Open a new API session
    2. /disconnect: Close an open API session
  3. Certificate Authority management
    1. /ca/list: Get a list of all CAs in your account
    2. /ca/details: Get further details on a given CA
    3. /ca/get: Download the CA's certificate
    4. /ca/delete: Delete a given CA
    5. /ca/new: Create a new CA
  4. Certificate management
    1. /cert/list: Get a list of all certificates for a given CA
    2. /cert/details: Get further details on a given certificate
    3. /cert/get: Download the certificate, signing request, or private key for a certificate
    4. /cert/reissue: Re-issue an existing certificate
    5. /cert/status: Change certificate status
    6. /cert/new: Create a new certificate