openSSL_CreateCertificateSignRequest

Create a SSL cert signing request from a pkey and a serial number

This functions creates an CertificateSignRequest (CSR) with 2048 bits. It's returned as PEM encoded text.

char[]
openSSL_CreateCertificateSignRequest
(
const char[] prkey
,
string[] domainNames
)

Parameters

prkey char[]

private key as PEM string

domainNames string[]

same custom data, e.g. a serial number

Return Value

Type: char[]

pointer to bas64url encoded DER data! See RFC.

Meta