O'Reilly logo

JUNOS Automation Cookbook by Adam Chappell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How it works...

In step 1, we use the foundation cryptographic functions within Junos OS to generate a pair of keys: one private, one public. In step 2, the public version of the key is used to create a certificate which is able to authenticate the router to connecting clients. Because we have no explicit Certificate Authority (CA) framework in place, we use a self-signed certificate.

Steps 3 and 4 export this self-signed certificate as a text-based X.509 certificate and copy it to the network management station respectively.

With step 5, we configure Junos OS to run the REST service using HTTP and HTTPS specifying appropriate port numbers. You can localize these port numbers to whatever you wish depending on your environment, but it's advisable ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required