Skip to content
No description or website provided.
C Makefile
Latest commit b4eb62f May 5, 2016 @pquerna Update
Failed to load latest commit information.
Makefile Add content from <… Apr 15, 2010
mod_authn_yubikey.c fixed AuthYkValidationHost AuthYkValidationProtocol configuration Sep 10, 2014
mod_authn_yubikey.h adding config parameter for validation url Sep 8, 2014 Add content from <… Apr 15, 2010


Setup local config files

To add the user frank.nord with the password foobar123 and the token id abcdefghijkl you have to do:

htpasswd -csb $your_yubikeyConfigLocation/…/yubikey/ykUserDb abcdefghijkl frank.nord:foobar123
cat ../yubikey/ykUserDb

Now you can edit your Apache Config (tested on Apache2 2.2.22-13+deb7u3 with Debian wheezy >=7.5)

Apache Sample Config
<Location /yubitest>
AuthType Basic
AuthBasicProvider yubikey
AuthName "Please Log In using your YubiKey"
AuthYubiKeyTimeout 30
AuthYubiKeyTmpFile yubikey/ykTmpDb
AuthYubiKeyUserFile yubikey/ykUserDb
AuthYubiKeyRequireSecure On
AuthYubiKeyExternalErrorPage Off

AuthYkValidationProtocol https

Require valid-user

You can also define your fav. choice of your AuthYkValidationProtocol http or https or …

Something went wrong with that request. Please try again.