Yubico Forum

...visit our web-store at store.yubico.com
It is currently Tue Jan 30, 2018 5:41 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 18 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Fri Mar 27, 2009 2:42 pm 
Offline

Joined: Fri Mar 27, 2009 2:39 pm
Posts: 9
Hi all,

I've set up the following;

- yubico-php-lib (otp parsing) -> http://code.google.com/p/yubico-php-lib
- yubiphpbase (utils) -> http://code.google.com/p/yubiphpbase
- kms (key mgmt) -> http://code.google.com/p/yms
- wsapi (otp validation) -> http://code.google.com/p/yubikey-val-server-php

But after configuring and installing everything that's been requested, I do not get any output from php install.php or php utils.php. I'm running on CentOS

Can someone help me?
Best regards,
Bram


Top
 Profile  
Reply with quote  

Share On:

Share on Facebook FacebookShare on Twitter TwitterShare on Tumblr TumblrShare on Google+ Google+

PostPosted: Fri Mar 27, 2009 3:32 pm 
Offline
Yubico Team
Yubico Team

Joined: Wed Oct 01, 2008 8:11 am
Posts: 210
Install.php is used for configuring the YMS server as per the entries populated in the config.php file.

In order to login to the YMS server you need to point your browser to the following URL:

http://<YMS Server IP Address/Domain name>/<YMS Server Installed directory>/yms

For Example:

http://api.yubico.com/yms

or

http://testyms.yubico.com/yubico/yms

Here, in the first URL, the YMS server is installed in the http document root directory and in the second URL it is installed in http document root/yubico directory.

We hope this helps !

Feel free to write back to us in case you face any problems.


Top
 Profile  
Reply with quote  
PostPosted: Fri Mar 27, 2009 3:43 pm 
Offline

Joined: Fri Mar 27, 2009 2:39 pm
Posts: 9
Thanks for your quick reply but...
I can access the yms but cannot log in...

This is (as far as i know) because there aint any admin tokens imported.
This is why I wan't to use the utils.php, but as I wrote earlier this php script doesnt give me output.

The output is needed for the sql import as described in;
http://code.google.com/p/yubiphpbase/wiki/SetUp


Top
 Profile  
Reply with quote  
PostPosted: Fri Mar 27, 2009 4:21 pm 
Offline
Yubico Team
Yubico Team

Joined: Wed Oct 01, 2008 8:11 am
Posts: 210
Please copy/move the utils.php from ..../yubiphpbase/db directory to .../yubiphpbase directory and run again.

Feel free to write back to us in case you face any problems.


Top
 Profile  
Reply with quote  
PostPosted: Fri Mar 27, 2009 4:23 pm 
Offline

Joined: Fri Mar 27, 2009 2:39 pm
Posts: 9
Already did that...


Top
 Profile  
Reply with quote  
PostPosted: Fri Mar 27, 2009 4:46 pm 
Offline
Yubico Team
Yubico Team

Joined: Wed Oct 01, 2008 8:11 am
Posts: 210
We would appreciate if you can send us the following information for debugging the problem you are facing:

    1) config.php

    2) Your yubico database dump created using the following command:
    Code:
    # mysqldump -u <username> yubico > <dumpfilename.sql>



Top
 Profile  
Reply with quote  
PostPosted: Sat Mar 28, 2009 11:41 am 
Offline

Joined: Fri Mar 27, 2009 2:39 pm
Posts: 9
As requested...
Attachment:
Archive.zip


Top
 Profile  
Reply with quote  
PostPosted: Mon Mar 30, 2009 6:58 am 
Offline
Yubico Team
Yubico Team

Joined: Wed Oct 01, 2008 8:11 am
Posts: 210
Thank you for providing the information. We are looking into the problem and we will update you soon.


Top
 Profile  
Reply with quote  
PostPosted: Mon Mar 30, 2009 11:39 am 
Offline
Yubico Team
Yubico Team

Joined: Wed Oct 01, 2008 8:11 am
Posts: 210
Please change the following parameters from config.php:

    1) $aesParams['__ADM_KEY_SECRET__'] ==> Enter your AES key in Base64 format
    2) $aesParams['__ENC_KEY_SECRET__'] ==> Enter your Encryption key in Base64 format

Please also let us know, how you have downloaded the source code (Whether you have used svn to download the files or downloaded the files which are available under download section).

We would appreciate if you can change the above mentioned parameters and test again.

Feel free to write back to us in case you face any problems.


Top
 Profile  
Reply with quote  
PostPosted: Mon Mar 30, 2009 12:43 pm 
Offline

Joined: Fri Mar 27, 2009 2:39 pm
Posts: 9
Changed the requested values to b64.
Everything was installed via svn (via the links in the first post).

I've tested it again without improvements...

--EDIT--
just saw that the install.php crashes after; require_once '../wsapi/common.php';
also tried putting the full path there...
only editted the config.php in ../wsapi/


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: Heise IT-Markt [Crawler] and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group