QQC! and SSL certificates
Contents
Visiting QQC! for the first time
QQC! makes use of SSL for security. The theory is beyond the scope of this document, but SSL was designed to provide guarantees of:
- identity - that you're communicating with who you think you're communicating with
- confidentiality - ensuring that your information is not stolen or viewed while in transit
Nowadays noone cares much about identity. It's too technical to explain to most people, but that's what your browser will complain about - it can't confirm QQC!'s identity:
Fixing this properly
For a website using SSL, the identity of the website is assured by a Certificate Authority (CA). The website-owner usually pays the CA some money, and then the CA issues the SSL certificate. In our case, CAcert assures our identity for QQC. The correct fix is then to tell your browser that you trust CAcert, who in turn assures QQC!.
Firefox
Visit CAcert: http://www.cacert.org/
- Follow the link to their Root Certificate, in the right-hand sidebar
Follow the link to the Root Certificate (PEM Format) under the Class 1 PKI Key section
You'll get a popup asking you to accept the certificate
- You should click the View button to show the details of the certificate
- Visually verify the SHA1 and MD5 Fingerprints on the certificate against the details on the webpage
- Close the viewing window once you're done
Tick the box labelled Trust this CA to identify web sites
You can tick the boxes for Email users and Software developers if you like
- Click OK
You're done. You can visit QQC! if you want, but there's not much to do until you have your browser certificate installed
Internet Explorer
Visit CAcert: http://www.cacert.org/
- Follow the link to their Root Certificate, in the right-hand sidebar
Follow the link to the Root Certificate (PEM Format) under the Class 1 PKI Key section
- Let IE do its thing, either Save or Open the file
- If you saved, go open it. If you chose to Open, keep going.
- IE on Windows Vista/7 will throw you an amber security warning about what you're doing, you need to Allow/Accept to proceed
You'll get the info box about the cert, click on Install Certificate:
This starts the Certificate Import Wizard
Click Next to get past the intro screen
You need to choose the correct "store" to put the certificate in, as Windows will pick the wrong one. Select Place all certificates in the following store then click the Browse button
Choose the Trusted Root Certification Authorities store and click OK
Click Next and then Finish
You'll then get a big security warning. Verify the sha1 thumbprint of the cert against the details on the webpage, then click Yes if they match:
You should see a message indicating success
You're done, now close all the dialogue boxes. You can visit QQC! if you want, but there's not much to do until you have your browser certificate installed
Dodgy fix
You can just ignore the error, it's benign.
Firefox
When Firefox complains, click I Understand the Risks, and another block of warning text will appear
Click the Add Exception button
Click the Get Certificate button
Uncheck the Permanently store this exception tickbox if you want to be hassled next time
Click the Confirm Security Exception button
Internet Explorer
Click Continue to this website
Installing your certificate into your browser
Get your certificate file, it should look something like this:
Importing into Firefox
Open your Options (on linux this is in the Edit menu):
Find the Advanced tab, then the View Certificates button:
The first tab should already be selected, it's for Your Certificates
Click the Import button
- Find your cert in the standard dialogue box and open it
You'll be asked for a password
- The password is blank, so just click OK
You should see a message indicating success
You're done, now close all the dialogue boxes and try to visit a QQC! page, eg. https://qqc.meidokon.net/Quartett/qqc_report.py
Importing into Internet Explorer
Open your Internet Options:
Choose the Content tab and click the Certificates button:
The first tab should already be selected, it's for Personal certificates
Click the Import button
This starts the Certificate Import Wizard
Click Next to get past the intro screen
Click the Browse button and find your file, you might need to fiddle the file-type box to show .p12 files:
That looks good now, so click Next to get to the password screen:
Tick the checkbox to Mark this key as exportable
- The password is blank, so just click OK
You can choose the "store" to put the certificate in. The default of Personal is fine, so leave that alone and click OK:
You should see a message indicating success
You're done, now close all the dialogue boxes and try to visit a QQC! page, eg. https://qqc.meidokon.net/Quartett/qqc_report.py
IE might ask you to confirm the use of your certificate, you can just click OK: