Several points here:
1) Yubikey(s) must be enroled with a LDAP user to be usable in OpenOTP.
You have several methods to enrol a yubikey with a user.
Let's try this:
- Use the Yubico Personalization Tool from Yubico to re-program your Yubikey(s).
- Plug your yubikey
- In the tool - in "logging" Settings, set "Log Configuration" output to "Yubico format" (this will produce a CSV file after re-programming the Yubikey).
- Go to Yubico OTP, choose "Advanced", check "Configuration Slot 1", and click the 3 "Generate" buttons.
- Click "Write Configuration" (you now have a Yubico CSV file).
Next step is to convert this CSV to a WebADM/OpenOTP Token Inventory file:
Copy the CSV in the VM and use the tool /opt/webadm/websrvs/openotp/bin/yubi2inv
Usage: ./yubi2inv <the-yubikey-file.csv> > inventory.csv
Then go in WebADM as Admin and go to Database Menu -> Inventory.
Import the WebADM Inventory file (ie. inventory.csv).
Now you can edit an Activated user in WebADM and under the "OTP Server" Actions, choose "Register Token".
Choose Yubikey and just press the plugged Yubikey to enrol it on the selected user.
There are Self-Services too to let the user do it himself.
2) The "Register Token" action copies the Inventoried data in the user metadata (ie. in the WebADM user data).
The Yubikey is now active for the user. If you set OpenOTP or the user settings with "Login Mode" = LDAPOTP or OTP and OTP Type = TOKEN,
then the yubikey can be used for login.
3) Integration is too wide to explain in short.
You should contact RCDEVS support team to help you with your specific integration and requirements.