Skip to main content

FreeBSD installation

Prerequisites

FreeBSD 7 or 8.
ePassPKI, Feitian PKI or Feitian R-301 with SIM card.

The source code of the ePass2003 is not yet in FreeBSD ports
Please refer to the GNU/Linux section for compiling from GIT.

Installation using Ports

Install opensc from ports (default options):

$ pkg_add -r opensc libccid

Install libp11 and pkcs11 engine to use with OpenSSL:

$ pkg_add -r engine_pkcs11

Reboot.

Installing from sources

$ cd /usr/ports/security/opensc; make all install
$ cd /usr/ports/security/libccid; make all install

Provide a configuration (the default is fine)

$ cp /usr/local/etc/opensc.conf-sample /usr/local/etc/opensc.conf

Run pcscd daemon on startup and restart:

$ echo pcscd_enable="YES" >> /etc/rc.conf
$ /usr/local/etc/rc.d/pcscd start