Yubico Forum
https://forum.yubico.com/

Trouble with local YubiCloud Validation Server
https://forum.yubico.com/viewtopic.php?f=35&t=2792
Page 1 of 1

Author:  Mihael [ Mon Nov 27, 2017 4:33 pm ]
Post subject:  Trouble with local YubiCloud Validation Server

Hello everybody,

I am trying to setup my own validation server and I'm stuck. I've successfully installed the Validation Server & KSM. Verifying OTP with KSM works great (I get OK), but whenever I try to verify OTP with the validation server (verify.php), I get "Yubikey OTP was bad (BAD_OTP). I don't know what to do, logs don't show any other errors and I don't know how to fix this.

Here's what I already tried:
- I've added a new row in YKKSM database matching my Yubikey serial, public id, private id and AES key
- I updated a row (the secret I'm using) in Clients with my OTP

I have a feeling it might not work because I installed the Validation Server before KSM. Could it be because of that? Maybe they can't communicate to each other?

I would appreciate any help I would get,
Mihael

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/