Create CSR
create_csrCraft a PKCS#10 certificate signing request from a private key, public key, and subject DN.
Instructions
Create a PKCS#10 certificate signing request from a PKCS#8 private key, SPKI public key, and subject DN.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| privateKey | Yes | PKCS#8 private key as DER, PEM, HEX, or base64 text. | |
| privateKeyFormat | No | Input format. Defaults to auto detection. | |
| publicKey | Yes | SPKI public key as DER, PEM, HEX, or base64 text. | |
| publicKeyFormat | No | Input format. Defaults to auto detection. | |
| subjectDn | Yes | Subject DN, for example CN=example.com, O=Example, C=JP. | |
| hashAlgorithm | No | Hash algorithm for signing. | SHA-256 |
| encoding | No | Output encoding for DER or value bytes. | hex |