Last active
April 22, 2024 12:50
-
-
Save alexishida/05d60a2fa9c4a58ba60518a41c0464df to your computer and use it in GitHub Desktop.
Instalando token SAFENET 5110 - Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
----------------------------------------------------------------------------------------------------------------------------- | |
PROCEDIMENTOS PARA INSTALAÇÃO SAFENET5110 | |
Autor: Alex Ishida <alexishida@gmail.com> | |
Data: 13/08/2021 | |
Versão: 1.0.0.0 | |
----------------------------------------------------------------------------------------------------------------------------- | |
PASSO 1, instale alguns pacotes disponíveis no repositório oficial do Ubuntu. | |
----------------------------------------------------------------------------------------------------------------------------- | |
sudo apt update | |
sudo apt -y install libjbig0 libtiff5 fontconfig-config libfontconfig1 libwxbase3.0-0v5 libpcsclite1 libccid pcscd opensc unzip | |
----------------------------------------------------------------------------------------------------------------------------- | |
PASSO 2, com o comando abaixo, iremos baixar, extrair e instalar o aplicativo para gerenciamento do token. | |
----------------------------------------------------------------------------------------------------------------------------- | |
cd /tmp | |
wget https://www.globalsign.com/en/safenet-drivers/USB/10.7/Safenet_Linux_Installer_DEB_x64.zip | |
unzip Safenet_Linux_Installer_DEB_x64.zip | |
sudo dpkg -i safenetauthenticationclient_10.7.77_amd64.deb | |
----------------------------------------------------------------------------------------------------------------------------- | |
Instalando no Google_Chrome | |
----------------------------------------------------------------------------------------------------------------------------- | |
Feche o Navegador | |
sudo apt -y install libnss3-tools | |
rm -fr ~/.pki/nssdb | |
mkdir -p ~/.pki/nssdb | |
certutil -d ~/.pki/nssdb -N | |
cd ~ | |
modutil -dbdir sql:.pki/nssdb/ -add "Safenet 5110" -libfile "/usr/lib/libeToken.so" | |
modutil -dbdir sql:.pki/nssdb/ -list | |
----------------------------------------------------------------------------------------------------------------------------- | |
# Instalando no Firefox. | |
----------------------------------------------------------------------------------------------------------------------------- | |
Abra “Editar” > “Preferencias” > “Avançado” > “Certificados” selecione a opção “Dispositivos de Segurança” | |
Clique em “NSS Internal PKCS…” depois em “Carregar” deixe o nome como está ou coloque um de sua preferência em seguida | |
coloque o caminho da biblioteca do token “/usr/lib/libeToken.so” | |
----------------------------------------------------------------------------------------------------------------------------- | |
Informações adicionais | |
----------------------------------------------------------------------------------------------------------------------------- | |
/* Programa de gerenciamento do TOKEN */ | |
/usr/bin/SACTools | |
/* Driver do Token */ | |
/usr/lib/libeToken.so |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@gustavomartinellidev fiz o procedimento novamente e agora funcionou, consegui carregar o certificado de segurança direto para o Chrome via nssdb, acho que tinha faltando reiniciar o SO ou reabrir o Chrome.