Navigation
Supported Platforms
Generating an SSL Certificate Using the openssl Command
To generate an SSL certificate using the openssl command:
- Enter openssl in the CLI. The openssl command generates a self-signed SSL certificate in privacy-enhanced
mail (PEM) format. It writes the certificate and an unencrypted 1024-bit
RSA private key to the specified file.
Note: Run this command on a LINUX or UNIX device because Juniper Networks Services Gateways do not support the openssl command.
% openssl req –x509 –nodes –newkey rsa:1024 –keyout filename.pem -out filename.pemReplace filename with the name of a file in which you want the SSL certificate to be written—for example, new.pem.
- When prompted, type the appropriate information in the identification form. For example, type US for the country name.
- Display the contents of the file new.pem.
cat new.pem
Copy the contents of this file for installing the SSL certificate.