Smartcard Based Authentication: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 25: | Line 25: | ||
==apt4suse== |
==apt4suse== |
||
cd |
|||
* Download unter: http://linux01.gwdg.de/apt4rpm/ |
|||
wget http://linux01.gwdg.de/~scorot/install-apt4suse.rpm |
|||
rpm -Uvh install-apt4suse.rpm |
rpm -Uvh install-apt4suse.rpm |
||
install-apt4suse |
install-apt4suse |
||
Line 36: | Line 37: | ||
* Download: http://www.omnikey.com/ - Support - Downloads |
* Download: http://www.omnikey.com/ - Support - Downloads |
||
* install mit Parameter -nopcsc, da die Prüfung ob PCSC schon enthalten ist bei beta6 fehlschlägt |
* install mit Parameter -nopcsc, da die Prüfung ob PCSC schon enthalten ist bei beta6 fehlschlägt |
||
cd |
|||
tar xfz cm2020_installer_v2_4_0_src.tar.gz |
tar xfz cm2020_installer_v2_4_0_src.tar.gz |
||
cd cm2020_installer_v2_4_0_src |
cd cm2020_installer_v2_4_0_src |
||
Line 41: | Line 43: | ||
==opensc== |
==opensc== |
||
cd |
|||
wget http://www.opensc.org/files/opensc-0.9.6.tar.gz |
|||
tar xfz opensc-0.9.6.tar.gz |
tar xfz opensc-0.9.6.tar.gz |
||
cd opensc-0.9.6 |
cd opensc-0.9.6 |
||
Line 52: | Line 56: | ||
ln -s --backup /etc/opensc.conf /usr/local/stow/opensc-0.9.6/etc/opensc.conf |
ln -s --backup /etc/opensc.conf /usr/local/stow/opensc-0.9.6/etc/opensc.conf |
||
Pfad |
Pfad in /etc/opensc.conf wie folgt anpassen: |
||
profile_dir = /usr/local |
profile_dir = /usr/local/share/opensc |
||
==Pam_PKCS11== |
|||
cd |
|||
wget http://www.dit.upm.es/~jantonio/pam-pkcs11/downloads/pkcs11_login-0.5.1.tar.gz |
|||
tar xfz pkcs11_login-0.5.1.tar.gz |
|||
./configure --prefix=/usr/local/stow/pkcs11_login-0.5.1 |
|||
make |
|||
make install |
|||
mkdir /etc/pkcs11 |
|||
cp etc/pam_pkcs11.conf.example /etc/pkcs11/pam_pkcs11.conf |
|||
cd /usr/local/stow/ |
|||
stow pkcs11_login-0.5.1 |
|||
pam_pkcs11.conf editieren und alle Pfade anpassen /usr/ -> /usr/local/ |
|||
use_first_pass = true; |
Revision as of 11:37, 8 September 2005
Einleitung
Was wird gebraucht - Hardware?
- Cardreader (z.B. Omnikey Cardman 2020 USB)
- Smartcard (z.B. Schlumberger Cryptoflex 32k e-gate)
Was wird gebraucht - Software?
- SuSE 9.3
http://www.novell.com/products/linuxprofessional/downloads/ftp/germ_mirrors.html - Treiber (Kernelmodul) für den SmartCard Reader
http://www.omnikey.com/ - Support - Downloads - OpenCT 0.6.2-4 (schon enthalten)
- OpenSC 0.9.6 (das bei SuSE 9.3 enthaltene OpenSC 0.9.4-4 ist kaputt)
http://www.opensc.org/download.php - Pam_PKCS11
http://www.opensc.org/pam_pkcs11/- pam-devel (schon enthalten)
- openldap2-devel (schon enthalten)
- PCSC-Lite 1.2.9 Beta 6 (schon enthalten)
- Apt for SuSE (nicht notwendig aber sehr praktisch)
http://linux01.gwdg.de/apt4rpm/ - stow (nicht notwendig aber sehr praktisch)
http://www.gnu.org/software/stow/stow.html
Installation
SuSE
- SuSE 9.3 Standardinstall mit KDE, C/C++ Devel, Kernel sourcen, Erfahrener Benutzer
- Onlineupdate
- Reboot (Kernelupdate)
apt4suse
cd wget http://linux01.gwdg.de/~scorot/install-apt4suse.rpm rpm -Uvh install-apt4suse.rpm install-apt4suse
stow
apt-get install stow mkdir /usr/local/stow
omnikey
- Download: http://www.omnikey.com/ - Support - Downloads
- install mit Parameter -nopcsc, da die Prüfung ob PCSC schon enthalten ist bei beta6 fehlschlägt
cd tar xfz cm2020_installer_v2_4_0_src.tar.gz cd cm2020_installer_v2_4_0_src install -nopcsc
opensc
cd wget http://www.opensc.org/files/opensc-0.9.6.tar.gz tar xfz opensc-0.9.6.tar.gz cd opensc-0.9.6 ./configure --prefix=/usr/local/stow/opensc-0.9.6 make make install cp etc/opensc.conf /etc/opensc.conf cd /usr/local/stow/ stow opensc-0.9.6 mkdir /usr/local/stow/opensc-0.9.6/etc ln -s --backup /etc/opensc.conf /usr/local/stow/opensc-0.9.6/etc/opensc.conf
Pfad in /etc/opensc.conf wie folgt anpassen:
profile_dir = /usr/local/share/opensc
Pam_PKCS11
cd wget http://www.dit.upm.es/~jantonio/pam-pkcs11/downloads/pkcs11_login-0.5.1.tar.gz tar xfz pkcs11_login-0.5.1.tar.gz ./configure --prefix=/usr/local/stow/pkcs11_login-0.5.1 make make install mkdir /etc/pkcs11 cp etc/pam_pkcs11.conf.example /etc/pkcs11/pam_pkcs11.conf cd /usr/local/stow/ stow pkcs11_login-0.5.1
pam_pkcs11.conf editieren und alle Pfade anpassen /usr/ -> /usr/local/ use_first_pass = true;