Skip to content

How to Secure and Implement Your Gnoppix Repository Certificate

If you are looking to access the premium or Member Gnoppix repositories, you will need to set up a secure client certificate on your system. This ensures that your connection is encrypted and authenticated.

Follow this step-by-step guide to request, download, and configure your personal Gnoppix certificate.


First, head over to the Gnoppix landing page to generate your personal certificate.

Important: Please submit this request only once. The system will automatically generate your unique certificate and send it to your email address.


Step 2: Configure Apt to Use the Certificates

Section titled “Step 2: Configure Apt to Use the Certificates”

Next, you need to tell the apt package manager where to look for your credentials when connecting to the secure repository.

Open a terminal and create a new configuration file:

Terminal window
sudo vi /etc/apt/apt.conf.d/90gnoppix-repo

Paste the following block into the file and save it:

Acquire::https::pro.gnoppix.org {
CaInfo "/etc/apt/ssl/gnoppix-ca.crt";
SslCert "/etc/apt/ssl/amu.crt";
SslKey "/etc/apt/ssl/amu.key";
};

Step 3: Download the Gnoppix CA Certificate

Section titled “Step 3: Download the Gnoppix CA Certificate”

Before adding your personal keys, you need the public Certificate Authority (CA) certificate from Gnoppix to verify the server.

Terminal window
wget https://media.gnoppix.org/gnoppix-ca.crt
sudo mkdir -p /etc/apt/ssl/
sudo cp gnoppix-ca.crt /etc/apt/ssl/gnoppix-ca.crt

Step 4: Add Your Personal Certificate (amu.crt)

Section titled “Step 4: Add Your Personal Certificate (amu.crt)”

Check your email inbox for the message from Gnoppix. Inside, you will find your personal certificate block.

Terminal window
sudo vi /etc/apt/ssl/amu.crt

Copy the entire block from your email — starting from -----BEGIN CERTIFICATE----- all the way down to -----END CERTIFICATE----- — and paste it into this file. Save and close.


Similarly, your email will contain your unique private key block.

Terminal window
sudo vi /etc/apt/ssl/amu.key

Copy the entire block — starting from -----BEGIN PRIVATE KEY----- to -----END PRIVATE KEY----- — and paste it into this file. Save and close.


With all files securely in place, lock down the permissions of your private key for safety, and update your repository list:

Terminal window
sudo chown root:root /etc/apt/ssl
sudo chmod 755 /etc/apt/ssl
sudo chmod 700 chroot/etc/apt/ssl
sudo chmod 600 /etc/apt/ssl/amu.key
sudo chmod 644 /etc/apt/ssl/*.crt
sudo chown _apt:nogroup /etc/apt/ssl/*
sudo apt update

Verification

Once you’ve run those, run your sudo ls -l /etc/apt/ssl command again. Your output should look exactly like this:

Terminal window
-rw-r--r-- 1 _apt nogroup 1484 May 27 11:13 amu.crt
-rw------- 1 _apt nogroup 1704 May 27 11:13 amu.key
-rw-r--r-- 1 _apt nogroup 1968 May 27 10:50 gnoppix-ca.crt

As a last test, make sure your /etc/apt/sources.list.d/gnoppix.sources look like as followed:

Terminal window
Types: deb
URIs: https://pro.gnoppix.org/
Suites: community
Components: main
Signed-By: /etc/apt/trusted.gpg.d/gnoppix.gpg

Adding Your Entrance Ticket to Your Browser

Section titled “Adding Your Entrance Ticket to Your Browser”

To access and directly download older or alternative images through your browser, you no longer need login credentials. As a member, your client certificate serves as your entrance ticket.

Terminal window
sudo openssl pkcs12 -export -out /tmp/zertifikat.p12 -inkey /etc/apt/ssl/amu.key -in /etc/apt/ssl/amu.crt -certfile /etc/apt/ssl/gnoppix-ca.crt

Here are the exact steps to import your newly created .p12 (or .pfx) certificate into LibreWolf so it can be used for client authentication.

  1. Open LibreWolf Settings:
  • Click the three horizontal lines (menu) in the top-right corner and select Settings (or type about:preferences in your address bar).
  1. Navigate to Certificates:
  • Click on Privacy & Security on the left menu.
  • Scroll all the way down to the Certificates section.
  1. Open the Certificate Manager:
  • Click the View Certificates… button.
  1. Import your Key:
  • In the Certificate Manager window, make sure you are on the Your Certificates tab.
  • Click the Import… button at the bottom.
  • Browse to your Linux-generated zertifikat.p12 file and select it.
  1. Enter Passwords:
  • LibreWolf will first prompt you for your Primary Password (none is set).
  • Next, it will ask for the Password used to encrypt this certificate backup—this is the Export Password Just press ENTER, also no password is set.
  1. Finish:
  • Once entered correctly, you will see your certificate listed in the grid. Click OK.

Now that the certificate is in LibreWolf, here is how the actual login/bypass works when you visit the secured website:

  • The Prompt: The next time you navigate to the URL requiring this certificate, LibreWolf will automatically open a pop-up window titled “User Identification Request”.
  • Select the Cert: It will show your imported certificate. If you have multiple, select the correct one from the dropdown list.
  • Remember decision: Crucial step: Check the box that says “Remember this decision” (if available) so LibreWolf doesn’t bug you every single time you open the page.
  • Access Granted: Click OK, and LibreWolf will present the private key signature to the server, bypassing any standard login blocks and letting you straight in.

💡 Troubleshooting Tip: If the website still throws an error (like SSL_ERROR_HANDSHAKE_FAILURE_ALERT), it usually means the server didn’t trust the certificate. Double-check if you need to re-generate the .p12 file including the CA bundle (-certfile parameter from the previous step) so LibreWolf can prove the entire trust chain.

Your Gnoppix system is now fully configured to securely authenticate and fetch updates from the member repository.