Yubikey Authorization Server

From CDOT Wiki
Revision as of 17:30, 22 November 2012 by Jacwang (talk | contribs)
Jump to: navigation, search

Documentation on Configuration

Documentation on how to set up the Yubikey validation server and key storage modules can be found, respectively, here:

These instructions have been confirmed to work under Fedora/RHEL with a few modifications:

  1. To install the KSM and VAL server, simply run "yum -y install yubikey-ksm yubikey-val" instead of using the source based method (although if you wish to have a more up to date version, the source based method does work)
  2. Because of the packaging methods used, some files will be relocated under /usr/share/doc. Fret not, as all of the new folders begin with yubikey-${SOMETHING}, so the instructions must be modified accordingly.
  3. The Location of the virtual hosts has been changed for security reasons to a folder under /var/www/ instead of being /var/www/html
  4. <INSERT RSYSLOG FIXES>

Current fixes

There are a few issues either with the instructions in the documentation, the fedora packages

  • For Ykval
    • yum -y install php-process
    • setsebool -P httpd_can_network_connect 1
    • setsebool -P httpd_can_network_connect_db 1
    • append "/usr/share/pear/:/etc/ykval/:/usr/share/ykval/" to the ${BIN_FILE} line in the start function of /etc/init.d/ykval_queue


  • For Ykksm
    • comment out hex2bin function in /usr/share/ykksm/ykksm-utils.php