informatique:safenet_etoken_5110
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| informatique:safenet_etoken_5110 [17/08/2023 19:15] – [Safenet Authenfication Client (SAC)] cyrille | informatique:safenet_etoken_5110 [28/08/2023 17:43] (Version actuelle) – [Charger la paire de clés et le certificat dans le token] cyrille | ||
|---|---|---|---|
| Ligne 10: | Ligne 10: | ||
| * Using Tokens in Ubuntu with PGP https:// | * Using Tokens in Ubuntu with PGP https:// | ||
| - | Version "5110 CC" Acheté 37 € (2023-08) sur https:// | ||
| - | Voir aussi [[/ | + | * Version "5110 CC" Acheté 37 € (2023-08) sur https:// |
| + | * Voir aussi [[/ | ||
| * API et normes compatibles : PKCS#11, Microsoft CAPI, PC/SC, stockage de certificats X.509 v3, SSL v3, IPSec/IKE, MS mini-lecteur, | * API et normes compatibles : PKCS#11, Microsoft CAPI, PC/SC, stockage de certificats X.509 v3, SSL v3, IPSec/IKE, MS mini-lecteur, | ||
| Ligne 93: | Ligne 94: | ||
| W: package-name-doesnt-match-sonames libIDClassicSISTokenEngine10 libIDPVSlotEngine10 libIDPrimePKCS11-10 libIDPrimeSISTokenEngine10 libIDPrimeTokenEngine10 libSACLog10 libSACUI10 libeTPKCS15-10 libeToken10 libeTokenHID10 | W: package-name-doesnt-match-sonames libIDClassicSISTokenEngine10 libIDPVSlotEngine10 libIDPrimePKCS11-10 libIDPrimeSISTokenEngine10 libIDPrimeTokenEngine10 libSACLog10 libSACUI10 libeTPKCS15-10 libeToken10 libeTokenHID10 | ||
| </ | </ | ||
| + | |||
| + | Ajout du module SafeNet ''/ | ||
| + | |||
| + | {{: | ||
| + | |||
| + | {{: | ||
| + | |||
| + | Chrome / Chromium ne propose pas d' | ||
| + | * [[https:// | ||
| ===== pkcs11-register ===== | ===== pkcs11-register ===== | ||
| Ligne 275: | Ligne 285: | ||
| $ opensc-tool --reader 0 --name | $ opensc-tool --reader 0 --name | ||
| Unsupported card | Unsupported card | ||
| + | </ | ||
| + | |||
| + | ===== Charger la paire de clés et le certificat dans le token ===== | ||
| + | |||
| + | * [[https:// | ||
| + | * https:// | ||
| + | |||
| + | <code bash> | ||
| + | # extraire les clés et le certificat au format DER | ||
| + | $ openssl rsa -in privkey.pkey -outform DER -out testkey-key.der | ||
| + | $ openssl x509 -in cert.cer -outform DER -out testkey-crt.der | ||
| + | $ openssl rsa -in privkey.pkey -pubout -out testkey-public.key | ||
| + | |||
| + | # import private key into token | ||
| + | $ pkcs11-tool --module / | ||
| + | Using slot 0 with a present token (0x0) | ||
| + | Logging in to " | ||
| + | Please enter User PIN: | ||
| + | Created private key: | ||
| + | Private Key Object; RSA | ||
| + | label: | ||
| + | ID: 01 | ||
| + | Usage: | ||
| + | Access: | ||
| + | |||
| + | # import certificat into token | ||
| + | $ pkcs11-tool --module / | ||
| + | Using slot 0 with a present token (0x0) | ||
| + | Logging in to " | ||
| + | Please enter User PIN: | ||
| + | Created certificate: | ||
| + | Certificate Object; type = X.509 cert | ||
| + | label: | ||
| + | subject: | ||
| + | ID: 01 | ||
| + | |||
| + | # import public key into token | ||
| + | $ pkcs11-tool --module / | ||
| + | Using slot 0 with a present token (0x0) | ||
| + | Logging in to " | ||
| + | Please enter User PIN: | ||
| + | Created public key: | ||
| + | Public Key Object; RSA 2048 bits | ||
| + | label: | ||
| + | ID: 01 | ||
| + | Usage: | ||
| + | Access: | ||
| + | |||
| + | </ | ||
| + | |||
| + | Et hop, visualisation du travail avec SAC: | ||
| + | |||
| + | {{: | ||
| + | |||
| + | Et avec '' | ||
| + | <code bash> | ||
| + | $ pkcs11-tool --module / | ||
| + | Using slot 0 with a present token (0x0) | ||
| + | Logging in to " | ||
| + | Please enter User PIN: | ||
| + | Certificate Object; type = X.509 cert | ||
| + | label: | ||
| + | subject: | ||
| + | ID: 01 | ||
| + | Public Key Object; RSA 2048 bits | ||
| + | label: | ||
| + | ID: 01 | ||
| + | Usage: | ||
| + | Access: | ||
| + | Private Key Object; RSA | ||
| + | label: | ||
| + | ID: 01 | ||
| + | Usage: | ||
| + | Access: | ||
| </ | </ | ||
informatique/safenet_etoken_5110.1692292526.txt.gz · Dernière modification : de cyrille
