Yubico Forum

...visit our web-store at store.yubico.com
It is currently Tue Jan 30, 2018 11:46 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: YubiKey Import Failed
PostPosted: Fri Dec 16, 2011 8:55 pm 
Offline

Joined: Fri Dec 16, 2011 8:45 pm
Posts: 2
When I try and import the .csv file into yubiradius running on vmware. I get the following error, KSM config is set to YubiHSM. This is a new install, any idea why ttyACMO is missing?



YubiKey Import Failed

YubiHSM Response:

output dir : /var/cache/yubikey-ksm/aeads
key handles : {0: '0'}
YHSM device : /dev/ttyACM0

Traceback (most recent call last):
File "/usr/sbin/yhsm-import-keys", line 208, in
main()
File "/usr/sbin/yhsm-import-keys", line 202, in main
hsm = pyhsm.YHSM(device = args.device, debug=args.debug)
File "/usr/lib/pymodules/python2.6/pyhsm/base.py", line 64, in __init__
self.stick = pyhsm.stick.YHSM_Stick(device, debug = self.debug, timeout = timeout)
File "/usr/lib/pymodules/python2.6/pyhsm/stick.py", line 39, in __init__
self.ser = serial.Serial(device, 115200, timeout = timeout)
File "/usr/lib/python2.6/dist-packages/serial/serialutil.py", line 166, in __init__
self.open()
File "/usr/lib/python2.6/dist-packages/serial/serialposix.py", line 175, in open
raise SerialException("could not open port %s: %s" % (self._port, msg))
serial.serialutil.SerialException: could not open port /dev/ttyACM0: [Errno 2] No such file or directory: '/dev/ttyACM0'


Top
 Profile  
Reply with quote  

Share On:

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

PostPosted: Mon Dec 19, 2011 9:32 pm 
Offline

Joined: Fri Dec 16, 2011 8:45 pm
Posts: 2
Just checking in to see if I can get some help on this subject!

Thanks!


Top
 Profile  
Reply with quote  
PostPosted: Mon Dec 26, 2011 2:39 pm 
Offline
Yubico Team
Yubico Team

Joined: Mon Feb 22, 2010 9:49 am
Posts: 183
Hi,

I think this has been addressed by Yubico Support over email but I am posting a general reply which could potentially help other readers:

YubiHSM is a hardware device ( http://yubico.com/yubihsm ) that can be used to additionally secure the AES keys on the YubiRADIUS virtual appliance. If you select YubiHSM option for Key Storage Module in YubiRADIUS, you must have a YubiHSM physical device that is configured (as described in YubiRADIUS User Guide) and have it connected to one of the USB ports of the physical host running the YubiRADIUS Virtual Appliance.

If you are using a YubiHSM, also please verify that the USB port is recognized by the YubiRADIUS appliance/server. You can test this out by connecting a YubiKey to a USB port of the physical host and open a text editor then touch the YubiKey button which should send a 44 character OTP into the text editor. If this is working as expected you most likely have a working USB connection. If not, the USB settings on your virtualization platform (e.g. VMWare server) need to be checked and resolved before proceeding.

Unless you have a YubiHSM device, you should set the KSM configuration to the default YubiKey-KSM setting which uses the onboard software based Key Storage Module.

Thanks!

Samir.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


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:  
cron
Powered by phpBB® Forum Software © phpBB Group