poniedziałek, 13 maja 2019

vpn prep - read certificates from usb drive.

sudo su - apt-get install opensc opensc-pkcs11 gnutls-bin mkdir -p /etc/pkcs11/modules echo "module: /usr/lib/libeTPkcs11.so" >> /etc/pkcs11/modules/.module verify if module is loaded p11-kit list-modules find hardware token p11tool --list-tokens # get url from token where manufacturer ilike safenet find certificates info p11tool --list-all-certs 'full_url_to_token' there should be at least 2 certificates, one of them can be used to authenticate (2nd one is used to encrypt files) connection to vpn: openconnect -c 'full_url_to_cert' --servercert sha256:cert123132123adasdsadasd https://vpn.company.pl

Brak komentarzy:

Prześlij komentarz