The block page over HTTPS too: the authority on Windows, macOS and Linux

John Smith Ltd has switched the block page on (see Block page): when an employee opens a site of a blocked category, the browser shows “Site blocked” with the reason and the IT office's contact.…

Situation

John Smith Ltd has switched the block page on (see Block page): when an employee opens a site of a blocked category, the browser shows “Site blocked” with the reason and the IT office’s contact. Over HTTP it works on every device. But an https:// link (a search result, a bookmark) and the sites the browser knows only over HTTPS show the certificate warning, and the reason does not get through.

For the page to show over HTTPS too, the devices have to trust the appliance’s block pages’ authority. The domain’s PCs get it from EDON Atlas by a GPO (see Joining the site to EDON Atlas). Here it is installed by hand on the others: the sales rep’s Windows laptop, the design office’s Mac, the technical office’s Linux workstation.

What you install

The authority belongs to the appliance, not to the console, and signs only the block page’s certificates, for a name blocked at that moment: no connection to a real site ever goes through it. Its key never leaves the appliance. It also carries limits inside itself: it is for websites only, and it never signs for the appliance’s domains, the forwarded ones and those of the linked EDON Atlas, nor for private addresses (the DNS and DHCP chapter lists them).

1. Download the authority and check its fingerprint

The file is argos-block-pages-ca.crt. You get it in one of two ways:

  • from the console, DNS and DHCP → Block page: in the “Block pages’ authority” box, “Download the authority”;
  • from a device on the network, while the page is on: http://198.18.255.1/ca, or the link at the bottom of the “Why is it blocked?” page (http://198.18.255.1/).

Before installing it, check that it is the appliance’s own: the same box shows its SHA-256 fingerprint. On the device:

  • Windows, from the command prompt: certutil -dump argos-block-pages-ca.crt, line “Cert Hash(sha256)”: the same digits, without the colons;
  • macOS and Linux, from the terminal: openssl x509 -in argos-block-pages-ca.crt -noout -fingerprint -sha256.

If the fingerprint does not match, do not install it.

2. On Windows

  1. Double-click the file and choose “Install Certificate…”.
  2. As the store location choose “Local Machine”, which applies to every user of the PC and asks for administrator rights (“Current User” applies to you only).
  3. Choose “Place all certificates in the following store”, then “Browse”, “Trusted Root Certification Authorities”, “OK”, “Next” and “Finish”.
  4. Confirm the security warning with “Yes”.

From an administrator’s command prompt, this is enough:

certutil -addstore -f Root argos-block-pages-ca.crt

To check, open certlm.msc: the authority (“Argos ‹appliance name› - pagine di blocco”) is among the “Trusted Root Certification Authorities”. Edge and Chrome use it after the browser restarts. A recent Firefox reads Windows’ authorities; if it still shows the warning, set security.enterprise_roots.enabled to true in about:config.

3. On macOS

  1. Double-click the file: “Keychain Access” opens. Choose the System keychain and confirm with an administrator’s password.
  2. In the “System” keychain, open the certificate “Argos ‹appliance name› - pagine di blocco”.
  3. Under “Trust”, set “When using this certificate” to Always Trust, close the window and confirm with the password again.

From the Terminal, in one step:

sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain argos-block-pages-ca.crt

Safari and Chrome use it at once. Firefox reads macOS’s authorities as on Windows: if it still shows the warning, set security.enterprise_roots.enabled to true in about:config.

4. On Linux

The authority goes into the system’s list of authorities, which curl, wget, apt and most programs use.

On Debian and Ubuntu:

sudo cp argos-block-pages-ca.crt /usr/local/share/ca-certificates/
sudo update-ca-certificates

On Fedora, Red Hat and their derivatives:

sudo cp argos-block-pages-ca.crt /etc/pki/ca-trust/source/anchors/
sudo update-ca-trust

The browsers keep a list of their own:

  • Chrome and Chromium read the user’s NSS list; as that user (the certutil command is in the libnss3-tools package), then restart the browser:

    certutil -d sql:$HOME/.pki/nssdb -A -t "C,," -n "Argos - block pages" -i argos-block-pages-ca.crt
  • Firefox: Settings → Privacy & Security → Certificates → “View Certificates…” → “Authorities” → “Import…”, choose the file and tick “Trust this CA to identify websites”.

5. Switch HTTPS on and try it

Once the authority is on the devices, in DNS and DHCP → Block page switch “Show the page over https too” on and save; the header shows “Unapplied changes”: apply and confirm within 60 seconds.

Then, from one of the devices, open the https:// address of a blocked site: “Site blocked” appears, with no certificate warning. On a device without the authority the same address shows the warning: that is the sign it is missing there.

Removing the authority

When a device leaves the company, or the appliance is replaced by a new one (which has an authority of its own):

  • Windows: in certlm.msc delete the authority from the “Trusted Root Certification Authorities”;
  • macOS: in “Keychain Access”, “System” keychain, delete the certificate;
  • Linux: sudo rm /usr/local/share/ca-certificates/argos-block-pages-ca.crt and sudo update-ca-certificates --fresh (on Fedora the file in /etc/pki/ca-trust/source/anchors/ and sudo update-ca-trust), and remove it from Chrome and Firefox where you imported it.

For the technician Tried in the lab with a Debian 13 and a Windows 11 client on the LAN of an Argos with the page over HTTPS: before the install the page’s certificate is refused, after it accepted, after the removal refused again. Windows’ curl.exe checks revocation and, finding none, refuses the connection (CRYPT_E_NO_REVOCATION_CHECK): to try from the command line use curl.exe --ssl-no-revoke, or PowerShell (Invoke-WebRequest), which trusts the installed authority as the browsers do. The authority publishes no revocation lists: its key stays on the appliance and signs only for blocked names.

LET’S TALK INFRASTRUCTURE

Control starts with a conversation.

Tell us about your infrastructure. Let’s start with what you actually need.

Talk to an engineer