Generate private keys, certificate signing requests and self signed certificates.
Check a given certificate
Checks if a given certificate is valid
and returns information about it,
including signing details and expiration date.
Create a Certificate Signing Request (CSR) to be signed by a CA
Creates a new Certificate Signing Request.
Upload the request to the CA to have it signed,
then bundle that certificate with your private key
to get your final certificate.
Generate a private key
Generates a private key to be used with a CSR.
Create self-signed certificate
Creates a new self-signed certificate and key.
Self signed certificates are useful for development purposes
but not for production use.
Make sure that OpenSSL is installed.
- 0: success. Dependencies were found
- 1: failed to find dependencies
Generate a new RSA private key.
- $1: key file path
- $2: number of bits (optional)
- Non-zero on error.
Generate a new CSR.
- $1: key file path
- $2: CSR file path
- Non-zero on error.
Generate self signed certificate for
development purposes.
- $1: SSL certificate output path
- $2: SSL key output path
- $3: number of bits for RSA (optional)
- $4: number of days to be valid for (optional)
- Non-zero on error.