<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="https://forum.yubico.com/feed.php?f=5&amp;t=393" />

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2010-08-17T21:25:42+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=5&amp;t=393</id>
<entry>
<author><name><![CDATA[bertunad]]></name></author>
<updated>2010-08-17T21:25:42+01:00</updated>
<published>2010-08-17T21:25:42+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=393&amp;p=2321#p2321</id>
<link href="https://forum.yubico.com/viewtopic.php?t=393&amp;p=2321#p2321"/>
<title type="html"><![CDATA[Re: Tutorial: Deploying PHP Validation Server and KSM]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=393&amp;p=2321#p2321"><![CDATA[
Another step foward I had to change LOG_LOCAL0 to LOG_USER<br /><br />Now another problem arises when validating and followed step by step your explanation I keep havin the error http 404 not found<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=1322">bertunad</a> — Tue Aug 17, 2010 9:25 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[bertunad]]></name></author>
<updated>2010-08-17T21:10:09+01:00</updated>
<published>2010-08-17T21:10:09+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=393&amp;p=2320#p2320</id>
<link href="https://forum.yubico.com/viewtopic.php?t=393&amp;p=2320#p2320"/>
<title type="html"><![CDATA[Re: Tutorial: Deploying PHP Validation Server and KSM]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=393&amp;p=2320#p2320"><![CDATA[
Hi I managed to find what was the problem the server module rewrite was not enabled. However I have another problem now<br /><br />Notice: Use of undefined constant LOG_LOCAL0 - assumed 'LOG_LOCAL0' in C:\wamp\www\yubico\ksm\ykksm-config.php on line 6<br /><br />Warning: openlog() expects parameter 3 to be long, string given in C:\wamp\www\yubico\ksm\ykksm-decrypt.php on line 34<br />ERR Syslog open error<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=1322">bertunad</a> — Tue Aug 17, 2010 9:10 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[bertunad]]></name></author>
<updated>2010-08-17T18:27:35+01:00</updated>
<published>2010-08-17T18:27:35+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=393&amp;p=2319#p2319</id>
<link href="https://forum.yubico.com/viewtopic.php?t=393&amp;p=2319#p2319"/>
<title type="html"><![CDATA[Re: Tutorial: Deploying PHP Validation Server and KSM]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=393&amp;p=2319#p2319"><![CDATA[
sorry I'm still in step 6 till the setup of ksm<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=1322">bertunad</a> — Tue Aug 17, 2010 6:27 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[bertunad]]></name></author>
<updated>2010-08-17T18:20:23+01:00</updated>
<published>2010-08-17T18:20:23+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=393&amp;p=2318#p2318</id>
<link href="https://forum.yubico.com/viewtopic.php?t=393&amp;p=2318#p2318"/>
<title type="html"><![CDATA[Re: Tutorial: Deploying PHP Validation Server and KSM]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=393&amp;p=2318#p2318"><![CDATA[
Hi your explanation is really straight foward very good. However I am having a problem with the last part it is giving me an internal error. Can you help?<br /><br />with this url<br /><!-- m --><a class="postlink" href="http://localhost/yubico/ksm/ykksm-decrypt.php?otp=vvgcitnhhjtuubcthjjdebjhgdvuekckuuvefreukcud">http://localhost/yubico/ksm/ykksm-decry ... vefreukcud</a><!-- m --><br /><br />Internal Server Error<br />The server encountered an internal error or misconfiguration and was unable to complete your request.<br /><br />Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.<br /><br />More information about this error may be available in the server error log.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=1322">bertunad</a> — Tue Aug 17, 2010 6:20 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[network-marvels]]></name></author>
<updated>2009-08-27T16:48:19+01:00</updated>
<published>2009-08-27T16:48:19+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=393&amp;p=1719#p1719</id>
<link href="https://forum.yubico.com/viewtopic.php?t=393&amp;p=1719#p1719"/>
<title type="html"><![CDATA[Re: Tutorial: Deploying PHP Validation Server and KSM]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=393&amp;p=1719#p1719"><![CDATA[
Thank you for posting the detailed step by step guide !!!<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=280">network-marvels</a> — Thu Aug 27, 2009 4:48 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[FloAtFokus]]></name></author>
<updated>2009-08-28T08:13:59+01:00</updated>
<published>2009-08-27T11:16:02+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=393&amp;p=1716#p1716</id>
<link href="https://forum.yubico.com/viewtopic.php?t=393&amp;p=1716#p1716"/>
<title type="html"><![CDATA[Tutorial: Deploying PHP Validation Server and KSM]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=393&amp;p=1716#p1716"><![CDATA[
This Tutorial provides a step-by-step guide of how to deploy a PHP validation server including the KSM<br /><br />Requirements:<br />- PHP Web Server<br />- MySQL Database<br />- Yubikey USB Token<br /><br />1. DOWNLOAD CONFIGURATION TOOL<br />First of all modify your Yubikey since we are not able to read the AES128 of our Yubikey. Keep in mind that you can't login to services from Yubico once you modified your Yubikey. Fortunately you can upload your modified Yubikey data to Yubico here to get it running with the Yubico server again: <!-- m --><a class="postlink" href="http://www.yubico.com/developers/aeskeys/">http://www.yubico.com/developers/aeskeys/</a><!-- m --><br />Ok, let's start with downloading and installing personalization tool. There is a binary version for Windows. <br /><!-- m --><a class="postlink" href="http://www.yubico.com/developers/personalization/">http://www.yubico.com/developers/personalization/</a><!-- m --><br /><br />2. MODIFY YOUR YUBIKEY<br />Run the application &quot;Yubico Configuration Utility&quot; from Start Menu.<br />Select: &quot;Create a dynamic Yubikey Configuration (OTP mode)&quot;<br />Use a public identity<br />Desired Length: 6<br />Public ID String: ff 50 7d b6 68 de (I will use these example values in the tutorial but you can choose any other value)<br />Fixed Value<br />NEXT<br />Use a private identity<br />ID String: a9 f9 de ff 36 22<br />NEXT<br />AES Key: e1 6e 6e c2 5c 31 46 94 01 9e 44 40 ff c3 43 3b <br />NEXT<br />Output Format Flags: Send ENTER as the last keystroke<br />NEXT<br />The yubikeys are currently unprotected and I want to keep it that way<br />NEXT<br />Write to configuration 1<br />RUN<br />Close the application<br /><br />3. DOWNLOAD YUBIKEY KEY STORAGE MODULE<br />Start your browser and go to <!-- m --><a class="postlink" href="http://code.google.com/p/yubikey-ksm/">http://code.google.com/p/yubikey-ksm/</a><!-- m --><br />Switch to source tab and copy the adress to your favourite SVN tool to download the sources.<br />Create a new directory on your PHP server named &quot;yubico&quot; <br />Create a new subdirectory on your PHP server named &quot;ksm&quot;<br />Copy all checked out files into the &quot;ksm&quot; directory.<br /><br />4. SETUP MYSQL TABLES FOR KSM<br />Open ykksm-db.sql in a text editor.<br />Copy the &quot;create table yubikeys&quot; request and modify the first line to &quot;create table ksm_yubikeys&quot;<br />Execute the SQL command in your MySQL database to create a new table.<br />(In fact you can execute the complete sql file but I prefer to have all yubikey tables in the same database with the same MySQL user)<br />Insert new entry for your modified Yubikey:<br />INSERT INTO ksm_yubikeys (id, serialNr, publicName, created, internalName, aesKey, lockCode, creator, active, hardware)<br />VALUES (NULL , '1', 'vvgcitnhhjtu', '0000-00-00 00:00:00', 'a9f9deff3622', 'e16e6ec25c314694019e4440ffc3433b ', '', '', '1', '1');<br /><br />5. CONFIGURE KEY STORAGE MODULE<br />Open ykksm-config.php in a text editor and update your MySQL configuration.<br />Open ykksm-decrypt.php in a text editor and modify the MYSQL queries since we decided to choose another name for our MySQL table in the last step. Search for &quot; yubikeys&quot; and replace with &quot; ksm_yubikeys&quot;.<br /><br />6. TEST THE NEW KSM WITH YOUR YUBIKEY<br />Launch your favourite browser and go to <!-- m --><a class="postlink" href="http://www.youraddress.com/yubico/ksm/ykksm-decrypt.php?otp=">http://www.youraddress.com/yubico/ksm/y ... t.php?otp=</a><!-- m --><br />Put the cursor at the end of the browser's address field and tip with your finger on the Yubikey button to generate a one time password.<br />You should see something like this:<br />OK counter=0001 low=ef28 high=2f use=04 <br /><br />7. DOWNLOAD YUBIKEY PHP VALIDATION SERVER<br />Launch your favourite browser and go to <!-- m --><a class="postlink" href="http://code.google.com/p/yubikey-val-server-php/">http://code.google.com/p/yubikey-val-server-php/</a><!-- m --><br />Switch to source tab and copy the adress to your favourite SVN tool to download the sources.<br />Create a new subdirectory of &quot;yubico&quot; directory on your PHP server named &quot;validation&quot;<br />Copy all checked out files into the &quot;validation&quot; directory.<br /><br />8. SETUP MYSQL TABLES FOR VALIDATION SERVER<br />Same procedure as in step 4...<br />Open ykval-db.sql in a text editor and copy the 2 &quot;CREATE TABLE&quot; SQL queries.<br />Modify the queries to &quot;CREATE TABLE val_clients&quot; and &quot;CREATE TABLE val_yubikeys&quot;.<br />Insert new entry to the val_clients table:<br />INSERT INTO val_clients (id, active, created, secret, email, notes) VALUES<br />(1, 1, '2009-08-27 00:00:00', '', <!-- e --><a href="mailto:'foo@bar.com">'foo@bar.com</a><!-- e -->', 'test');<br /><br />9. CONFIGURE VALIDATION SERVER SOURCES<br />Open ykval-config.php in a text editor and update your MySQL configuration<br />Open ykval-verify.php and ykval-common.php in a text editor and modify the MYSQL queries since we chosed other names for our MySQL tables. Search for &quot; yubikeys&quot; and replace with &quot; val_yubikeys&quot; and &quot; clients&quot; with &quot; val_clients&quot;.<br />Update the address for the key storage module in ykval-config.php:<br />Replace &quot;http://ykkms1.example.com/wsapi/decrypt?otp=&quot; with &quot;http://www.youraddress.com/yubico/ksm/ykksm-decrypt.php?otp=&quot;<br /><br />10. TEST THE VALIDATION SERVER<br />Launch your favourite browser and go to <!-- m --><a class="postlink" href="http://www.youraddress.com/yubico/validation/ykval-verify?id=1&amp;otp=">http://www.youraddress.com/yubico/valid ... ?id=1&amp;otp=</a><!-- m --><br />Put the cursor at the end of the browser's address field and tip with your finger on the Yubikey button to generate a one time password.<br />You should see something like this:<br />h=nrZbVl6d+p8fh1CEPFdCfzneOYY=<br />t=2009-08-27T10:06:01Z0193<br />status=OK<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=825">FloAtFokus</a> — Thu Aug 27, 2009 11:16 am</p><hr />
]]></content>
</entry>
</feed>