7.16 sslutils

Table of Contents Previous Next



The openssl_rsa_generate_key function generates an RSA private key. The function signature is:
openssl_rsa_generate_key(integer) RETURNS text
The openssl_rsa_key_to_csr function generates a certificate signing request (CSR). The signature is:
openssl_rsa_key_to_csr(text, text, text, text, text, text, text) RETURNS text
The text arguments expected by the openssl_rsa_key_to_csr function are:
Argument 2: The common name (e.g., agentN) of the agent that will use the signing request.
The openssl_csr_to_crt function generates a self-signed certificate or a certificate authority certificate. The signature is:
openssl_csr_to_crt(text, text, text) RETURNS text
The text arguments expected by the openssl_csr_to_crt function are:
Argument 2: The path to the certificate authority certificate, or NULL if generating a certificate authority certificate.
The openssl_rsa_generate_crl function generates a default certificate revocation list. The signature is:
openssl_rsa_generate_crl(text, text) RETURNS text
The text arguments expected by the openssl_rsa_generate_crl function are:


Table of Contents Previous Next