NetScaler ADC lab 6 of 13

SSL offload with a lab CA

Make NS1 a small certificate authority, issue a certificate with SANs for the shop, publish an HTTPS virtual server that offloads TLS for plain-HTTP servers, refuse old TLS and trust the CA in Firefox.

Run this lab

It needs Lite: its 4 nodes are set to 5 vCPU and 5,120 MB in total. It is ready about 7 minutes after you start it. It starts already set up, with nothing to paste before the first task. It fits the free demo too.

In your workspace: Shared, then Load balancing and ADC on NetScaler guided labs, then 06 - SSL offload with a lab CA

Try it free for 30 minutesRun it on Lite from £3 a day

  • About 7 min to be ready
  • About 60 min of tasks
  • The free demo’s 30 min cover the start and about 23 min of the tasks

The free demo needs no card and no email. Every lab plan includes every guided lab.

Level
Intermediate
How you work
GUI-led
Nodes need
5 vCPU, 5,120 MB
Smallest plan
Lite

The scenario

Card payments are coming to the shop, so it must move to HTTPS. Harbour Outfitters' policy is that public certificates are bought later; for the test site, the network team runs its own small certificate authority on NS1. Build that CA, issue a certificate for www.shop.lab, and let NS1 do all the TLS work ("SSL offload"), so the web servers keep serving plain HTTP. Old TLS versions must be refused.

DeviceInterfaceAddressRole
NS1 (NetScaler VPX 14.1)0/1 (CLIENT)10.10.10.10/24 (NSIP)management address: GUI, SSH, NITRO API
NS11/1 (SERVERS)10.10.20.10/24 (SNIP)the address NS1 uses to talk to the servers
NS1(virtual)10.10.10.100 (HTTP on 80, HTTPS on 443)virtual server (VIP) the users connect to
DESKTOPeth010.10.10.50/24your workstation: Firefox, terminal, ssh, curl
WEB1eth010.10.20.21/24web server
WEB2eth010.10.20.22/24web server

NS1 starts with vs-shop (10.10.10.100:80) over sg-shop with its HTTP monitor.

Skills: keys, certificate signing requests and certificates on NetScaler; a root CA and a server certificate with a subject alternative name; certificate-key pairs and links; SSL virtual servers; protocol settings; trusting a private CA in a browser.

What you’ll practise

  • Create keys, CSRs and certificates on NetScaler, including a root CA
  • Issue a server certificate with subject alternative names
  • Install and link certificate-key pairs
  • Build an SSL virtual server and restrict its protocols
  • Trust a private CA in a browser and prove the chain

The tasks

  • Start the lab
  • Task 1: A root CA on NS1
  • Task 2: A server certificate for www.shop.lab
  • Task 3: Install the pair and link the chain
  • Task 4: The HTTPS virtual server
  • Task 5: Trust the CA in Firefox

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.

Topology of SSL offload with a lab CA4 nodes and 2 networks, 5 links. Every link is listed as text below the diagram.NS1DESKTOPWEB1WEB2CLIENTSERVERSeth0eth00/11/1eth0
4 nodes and 2 networks, with the interface names each link uses. On a narrow screen, scroll the diagram sideways.
Nodes in SSL offload with a lab CA, with the image each runs and the vCPU and RAM it’s set to
NodeDeviceImage in Add NodeSet to
NS1Citrix NetScaler ADC VPXnsvpx-14.1-38.532 vCPU, 2,048 MB
DESKTOPCloudLabBox desktop (Docker)CloudLabBox’s own desktop image1 vCPU, 1,024 MB
WEB1EVE-NG GUI server (Docker)eve-gui-server:latest1 vCPU, 1,024 MB
WEB2EVE-NG GUI server (Docker)eve-gui-server:latest1 vCPU, 1,024 MB

How to open this lab

  1. Sign in to your workspace at lab.cloudlabbox.com.

  2. In File Manager, open Shared, then the folder Load balancing and ADC on NetScaler guided labs.

  3. Open 06 - SSL offload with a lab CA and start its nodes, then open Lab Tasks for the scenario and the steps.

  4. For a device’s web interface, work from the lab’s desktop, DESKTOP: open its console and maximise the window.

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 NetScaler ADC labs

All NetScaler ADC labs

Related labs in other courses

CloudLabBox is independent of NetScaler, Cloud Software Group, Citrix and F5. The lab follows exam topics and isn’t vendor training material; vendor names identify the exams and the images in the workspace.