JunOS : How to install a Certificate Authority issued SSL on jWeb

By | October 5, 2023

If you are into jWeb, here is how to install a Certificate Authority issued certificate to your JunOS device for jWeb interface.

1. Create a PEM bundle of your CA issued certificate (private key followed by the certificate)

2. Place the certificate on the device filesystem

a. Using the shell, "vi /var/tmp/hostname.domain.tld.pem"
b. Using SFTP "scp hostname.domain.tld.pem user@asset.domain.tld:/var/tmp/"

3. Load the certificate in the store :

set security certificates local "hostname" load-key-file /var/tmp/hostname.domain.tld.pem

4. Tell jWeb to use your new certificate :

set system services web-management https local-certificate "hostname"

5. Commit de change

commit comment "add new ssl crt for jweb"

OR if you are running a stack/HA :

commit synchronize comment "add new ssl crt for jweb"