I want to use my Belgian EID to login to government websites online. How do I set this up in Google Chrome and Firefox in Ubuntu 14.04?
Thanks!
All the Belgian eid related software is in a seperate software archive not part of a default Ubuntu installation. You first have to add this archive by downloading and installing the archive .deb
package.
Go to the Belgian eid middleware page and download the package called eid-archive.deb
. Install the archive by double-clicking the .deb
file** in the file browser.
After you installed the archive, you can install the drivers for the card reader. The drivers make sure your computer can talk to the card reader. For card readers of type ACR38U (the ones you get from the government) install the following components
sudo apt update
sudo apt install libacr38u libacr38ucontrol0 libacr38ucontrol-dev libccid
After installation, it might be necessary to restart your computer. These drivers also work for some Dell keyboards with built-in card readers
If you receive the error Unable to locate package libacr38u
, it means you didn't install the Belgian eid software archive. Please repeat step 1. and run sudo apt-get update
to make sure your computer knows about the Belgian eid archive.
The middleware is a program to view your id information from your computer. To install the middleware, run following commands. The first command updates the repo's, this is necessary!
sudo apt update
sudo apt install eid-viewer eid-mw
Now you can check if the eID reader works with the program eID Viewer
(It's in the Ubuntu Menu/Dash).
If you can see/use your eID using "eID Viewer" then you can continue configuring your browser. If "eID Viewer" cannot see the card reader and the card, then you will have to install additional drivers for the card reader.
After installation of the viewer and the middle ware, restart firefox and it should work. See below for how to test this.
Copy these instructions to Gedit, or another text editor and Shut down google chrome and run the following commands
sudo apt install libnss3-tools
modutil -dbdir sql:.pki/nssdb/ -add "Belgium eID" -libfile /usr/lib/x86_64-linux-gnu/libbeidpkcs11.so.0.0.0
You have to restart Google Chrome every time you plug in your card reader for it to work. See "Testing the eID in your browser" to test if it succeeded.
You can test this by going to the Belgian eID test page and following their instructions. If you start the test end you get a "page not found" or "ssl error", the eID is not working properly.
In Google Chrome: Restart the browser after you plug in your card reader for it to work.
Sources
libacr38u*
packages, an error was thrown (no release candidate). But installing the middleware and eid-viewer (sudo apt install eid-viewer eid-mw
) fixed it for me after a reboot. Now it works in both Firefox as well as Chrome.