Friday, September 26, 2008

VMware && USB && Ubuntu ?

To be able to use USB devices with VMware guest OSes under Ubuntu Gutsy you have to uncomment lines 42-45 in /etc/init.d/mountdevsubfs.sh




mkdir -p /dev/bus/usb/.usbfs
domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
ln -s .usbfs/devices /dev/bus/usb/devices
mount --rbind /dev/bus/usb /proc/bus/usb




Then conect with VM->Removable devices -> USB devices

Thursday, September 25, 2008

OpenSSL commands

Some useful openssl commands.

Check certificate details:



openssl  verify -verbose -issuer_checks server.crt



Generate new sertificate:



openssl req -new -x509 -days 365 -key server.key  -out server.crt



Check the modulus of an SSL certificate and key:



openssl rsa -noout -modulus -in server.key | openssl md5

openssl x509 -noout -modulus -in server.crt | openssl md5