ncloud_pca_create_ca
Create a Private Certificate Authority (Root or Sub CA) with specified key type, validity period, and distinguished name attributes for certificate management.
Instructions
Create a new Private CA (Root CA or Sub CA). Requires alias, keyType, period, and x509Parameters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No | IP SANs (IP address format) | |
| memo | No | CA memo/description | |
| alias | Yes | CA name (3-15 chars, alphanumeric + '-' + '_', starts with letter) | |
| caType | Yes | CA type: PRIVATE_ROOT (Root CA) or PRIVATE_SUB (Intermediate CA) | |
| period | Yes | Validity period in days (1-3650) or 'MAX' for maximum | |
| altName | No | DNS/Email SANs (domain/host name or email format) | |
| country | No | Country code (ISO 3166-1 alpha-2) | |
| keyType | Yes | Key type for the CA | |
| locality | No | City name (0-128 chars) | |
| issuerTag | No | Issuer CA tag value (required for PRIVATE_SUB when using internal signing) | |
| commonName | Yes | Common Name (1-64 chars) | |
| organization | No | Organization name (0-64 chars) | |
| stateProvince | No | State/Province name (0-128 chars) | |
| organizationUnit | No | Organization unit name (0-128 chars) |