DUNE has such a good explanation that… well, this is a copy of it.
First: Why would you want to do this?
CILogon provides a free, year-long certificate that you can load into your browser and use for accessing the SBN DocDB. The recommended way to access resources like SBN DocDB is the Single Sign On interface, which anyway does accept CI Logon certificates.
The CILogon Certificate discussed below can not be used to digitally sign email.
Instructions for getting a CILogon Certificate and importing the certificate into your browser
There are three steps, documented below:
- get a CILogon certificate (once every year)
- importing that certificate in your browser (once every year)
- registering with SBN DocDB (once every life)
Generating or renewing a certificate
This is something you need to do once per year. You can copy the certificate file on different machines (e.g., your phone, your laptop, your home desktop), or you can have different ones at the same time, all of which identify you. No penalty in doing this more often.
- Point your browser at https://cilogon.org.
- Look through the list of supported Identity Providers:
- if your institution is in that list (if that’s Fermilab, see
the next option instead):
- select it and click the “Log On” button
- follow the log in procedure; this is specific to the institution you have picked
- if your institution is not on that list, and you have accounts
at Fermilab:
- select
Fermi National Accelerator Laboratory
and click the “Log On” button - enter your Services username and password (the same you
access ServiceNow and Fermilab e-mail with; and the user
name is just that, without
@services.fnal.gov
or anything) and click the “Login” button
- select
- if your institution is in that list (if that’s Fermilab, see
the next option instead):
- If you do not have accounts at Fermi and your institution is not in
the list (and you are a part of SBND, of course):
- you will need to obtain an account with one of the institutions supporting CILogon (hint: Fermilab ) before proceeding with the instructions on this page.
- Choose “Create Password-Protected Certificate” and enter a password to protect your to be generated certificate; do it! You will tell your browser to remember it for you, in the end.
- Click “Get New Certificate”, then on the next page the “Click Here To Download Your Certificate” button.
- Save it to your computer, and make a note of where you save it: this file is your certificate, and you will need to upload this file to your browser(s)
- Log off.
Loading the certificate into your browser
There are too many web browsers around, and they use too many different approaches, and they change them too often. If you find this information is outdated (because you have the most recent browser and it works different from here), feel free to update the pertaining section, also indicating which version you are describing.
A search engine will likely give you better information than this anyway. But what you are going to do is:
- look for the proper secrity/certificate settings page of your browser
- tell your browser to “import” your “p12” certificate
Safari, and Vivaldi and Chrome on OSX
These browsers use the operating system’s “key chain” to access certificates.
- click on the certificate that has been downloaded (check the downloads folder). This will add it to your O.S. keychain for use with Safari.
Vivaldi and Chrome on Linux
(tested on Vivaldi 4.0.2312.41 and Chrome 92.0.4515.107)
- Go to the URL:
chrome://settings/certificates
(yes, in Vivaldi too)- you might need to tell Vivaldi to have preferences shown in a tab rather than in a dialogue window…
- you should see a page themed in the Chrome way (if Vivaldi shows
a page themed in a very different, Vivaldi-like way, then it redirected
to
vivaldi://
and will likely show the general preferences instead; in that case, try again with thechrome://
URL above).
- The “Import” button should be fairly obvious under “Your certificates” tab.
Chrome on Windows
- go to the URL:
chrome://settings
, look for “Advanced Settings” - in there, there should be a “Manage Certificates” where you can Import them
Firefox
(tested on version 90.0.2 in Linux)
- Pick the “Settings” page (or visit
about:preferences
URL) - Look for the “Security” paragraph or directly serach for “Certificates” and click on “View Certificates…”.
- The tab “Your Certificates” contains the “Import…” button.
Internet Explorer
- double click on the saved certificate file
- select ‘Next’ on the wizard (twice)
- enter the password you entered for the certificate
- keep the default options and click on “Next” until you get to “Finish”
Access to SBN DocDB
After you get your first certificate, you’ll have to ask the DocDB administrators for access with that new credential. This appears to be needed only once.
Applying for Access to DocDB using this certificate
If you are just renewing a certificate that has not already expired, you will not need to reregister with SBND DocDB. Otherwise, you have to register and present your new certificate, and a human has to accept you in (so it may take one day).
- point your certificate-aware browser to SBND DocDB: https://sbn-docdb.fnal.gov
- click “apply for access”
- you’ll be asked which access groups you want to join (if unsure, pick only
SBN
)
Accessing DocDB once you have certificate access
- go to SBND DocDB: https://sbn-docdb.fnal.gov
- if prompted, now or at the next step, by the browser to choose a certificate to use, choose the same certificate you used to apply for access
- choose the “Certificate Version of SBN DocDB” as the link to follow