The company where I work is upgrading the certificates for VPN access from A1 to A3, but I am having trouble getting the new A3 Token to work in Ubuntu.
By following a bunch of instructions from around the web and from coworkers, here is what I have done so far:
- I have downloaded and installed the driver from the address below.
$ wget https://www.globalsign.com/en/safenet-drivers/USB/10.7/Safenet_Linux_Installer_DEB_x64.zip
At that point, the token was still not being recognized. It did not appear as a result of the command
p11tool --list-tokens
. So I was told to create the file/etc/gnutls/pkcs11.conf
and add the following line to itload=/usr/lib/libeTPkcs11.so
.That made the token be recognized, but its Module was not being displayed. Here's how it appeared. URL and serial have been purposely removed.
$ p11tool --list-tokens
Token 1:
URL: ###########
Type: Hardware token
Flags: RNG, Requires login
Manufacturer: SafeNet, Inc.
Model: eToken
Serial: ###########
Module:
- To solve that, I was told to access the folder
/usr/lib/x86_64-linux-gnu/pkcs11
, delete or rename the fileopensc-pkcs11.so
, and recreate it as symbolic link to the driver's file. That's what I did via the command below.
$ sudo ln -s /usr/lib/libeToken.so.10.7.77 /usr/lib/x86_64-linux-gnu/pkcs11/opensc-pkcs11.so
This is pretty much where I stand. Doing step 4 made the token recognize its driver. The Module now appears when I list it.
$ p11tool --list-tokens
Token 1:
URL: ###########
Type: Hardware token
Flags: RNG, Requires login
Manufacturer: SafeNet, Inc.
Model: eToken
Serial: ###########
Module: opensc-pkcs11.so
But when I try to get the URL of the token's certificate, which I need to access the VPN, this is what I get. Does anyone know how can I fix this?
$ p11tool --list-all-certs "[token-url]"
No matching objects found