OpenSSL Cheat Sheet

Create a strong CSR and private key openssl req -new -nodes -newkey rsa:4096 -out server.crt -keyout server.key Parsing out the data within a certificate openssl asn1parse -in server.crt Checking a certificate/key modulus to see if they correspond openssl rsa -in server.key -modulus -noout | openssl md5 openssl x509 -in server.crt -modulus -noout | openssl md5 Convert a key […]

/dev/null not found?

Today I came across a box with no /dev/null. Disturbingly that box even refused to boot. Here’s a quick fix in case: Boot with some liveCD and chroot or use some emergency shell and kill the defect dev file in case it’s still there and regenerate: rm -rf /dev/null mknod /dev/null c 1 3 chmod 666 /dev/null

Skype uses SQLite

Skype uses SQLite too! Even if you don’t believe it, but it’s one of the most handy things for getting data structured; But as every database, even sqlite needs some love every now and then. On a linux box, the databases of Skype are in ~/.Skype// and their extension is .db; Contacts, Logs and all that jazz in […]

Doing a disk change

If you run out of disk space, it’s time to get yourself a newer one; Basic rule for users. In my case, I’m just the one who’s doing the technical work behind, which is less troublesome than the user. To save me some headache, I usually start by replacing the disk in the PC first and wiring up […]

1 2 3 6