1. # a very nice technical guide to openssl user authentication with apache using certificates and smartcards
  2. # installing opensc:
     TARGETDIR=$HOME
     mkdir -p $TARGETDIR
     cd $TARGETDIR
     cvs -z3 -d :pserver:cvs@cvs.opensc.org:/cvsroot co opensc
     cd $TARGETDIR/opensc
     ./bootstrap
     ./configure
     time sudo make install
    
  3. # prepare a pkcs#15 card:
     debugLevel=-vvvvvv
     pkcs15-init $debugLevel -T --erase-card --create-pkcs15 --profile pkcs15 -a 45 -l 45 --pin 1234 --puk 123456 --so-pin 123456 --so-puk 12345678
     pkcs15-init $debugLevel -T -P -a 45 -l 45 --pin 1234 --puk 123456 --so-pin 123456 --so-puk 12345678