To generate an SSL certificate using openssl command:
![]() |
Note: You should run this command on a LINUX or UNIX device since Juniper Networks Services Gateways do not support the openssl command. |
- % openssl req –x509 –nodes –newkey
rsa:1024 –keyout filename.pem -out filename.pem
Replace filename with the name of a file in which you want the SSL certificate to be written—for example, new.pem.
cat new.pem
Copy the contents of this file for installing the SSL certificate.
You can use either J-Web Quick Configuration or a configuration editor to install the SSL certificate and enable HTTPS.