JNCIA-SEC and JNCIS-SEC lab 12 of 16
SSL forward proxy with a lab CA
Make the SRX a forward proxy: build a private CA, load upstream trust, find out why a proxy on its own does nothing, deploy the CA to a client, and stop an attack hidden inside HTTPS.
Run this lab
It needs Lite: its 3 nodes are set to 4 vCPU and 6,144 MB in total. That fits the free demo too.
In your workspace: Shared, then JNCIA-SEC and JNCIS-SEC SRX security guided labs, then 12 - SSL forward proxy with a lab CA
- Level
- Advanced
- Time
- About 80 minutes
- Nodes need
- 4 vCPU, 6,144 MB
- Smallest plan
- Lite
The scenario
Most of what crosses Hartwell's firewall is now TLS, so its IDP rules see nothing but ciphertext. You'll make the SRX a forward proxy for outbound web traffic: it decrypts, inspects and re-encrypts. You'll build a small private CA on the SRX, teach staff PCs to trust it, and prove that an attack hidden inside HTTPS gets stopped.
| Device | Interface | Address | Zone or gateway |
|---|---|---|---|
| SRX | ge-0/0/0 | 203.0.113.1/24 | zone untrust |
| SRX | ge-0/0/1 | 10.10.10.1/24 | zone trust |
| LAN-PC | eth0 | 10.10.10.10/24 | gateway 10.10.10.1 |
| OUT | eth0 | 203.0.113.10/24 | gateway 203.0.113.1 |
| On OUT | Address | Certificate |
|---|---|---|
shop.example | 203.0.113.10 | Issued by Example Public CA, with the CA file at http://203.0.113.10/public-ca.pem |
bank.example | 203.0.113.20 | The same |
LAN-PC already resolves both names through /etc/hosts. Policies TLS-OUT (HTTPS) and WEB-OUT (HTTP) permit trust to untrust.
What you’ll practise
- Explain client and server protection
- Generate a CA on the SRX and load upstream CA certificates
- Configure an SSL proxy profile and apply it with an interested service
- Deploy the CA to a client and verify the re-signed certificate
- Exempt a destination from decryption
The tasks
- The baseline
- A private CA on the SRX
- Tell the SRX which server CAs to trust
- The proxy profile
- Give it something to inspect
- Deploy the CA to the client
- Inspection, proved
- Leave the bank alone
The Lab Tasks pane has the scenario, these tasks, the checks to run, hints and the full solution.
Topology and devices
The network as it opens in EVE-NG, drawn from the lab’s own canvas, and the image each node runs.
Every link, as text
- SRX
ge-0/0/0to OUTeth0 - SRX
ge-0/0/1to LAN-PCeth0
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| SRX | Juniper vSRX NextGen template | vsrxng-24.4R1.9 | 2 vCPU, 4,096 MB |
| LAN-PC | EVE-NG GUI server (Docker) | eve-gui-server:latest | 1 vCPU, 1,024 MB |
| OUT | EVE-NG GUI server (Docker) | eve-gui-server:latest | 1 vCPU, 1,024 MB |
How to open this lab
Sign in to your workspace at
lab.cloudlabbox.com.In File Manager, open Shared, then the folder
JNCIA-SEC and JNCIS-SEC SRX security guided labs.Open
12 - SSL forward proxy with a lab CAand start its nodes, then open Lab Tasks for the scenario and the steps.
The lab is read-only. You can start the nodes and configure the devices, but changes to the topology can’t be saved. To change it, rebuild it in your own folder.
More JNCIA-SEC and JNCIS-SEC labs
All JNCIA-SEC and JNCIS-SEC labs
Related labs in other courses
CloudLabBox is independent of Cisco and Juniper Networks. The lab follows exam topics and isn’t vendor training material; vendor names identify the exams and the images in the workspace.