For the benefit of anyone getting a “java.lang.Exception: Input not an X.509 certificate” when trying to import a signed certificate using keytool:
I was trying to import the certificate that Thawte signed for me into the Java based keystore. Currently my best guess is that keytool was written by an intern with way not enough coffee […]
Entries from February 2007
Input not an X.509 certificate
February 11th, 2007 · 1 Comment · general
Tags:certificate·java·keytool·ssl
strace, I love you
February 10th, 2007 · No Comments · general
Quick post:
Use
strace -e trace=network
to quickly figure out where a process is connecting to.
This traps only system calls that the process makes regarding networking. Very useful to make sure that your process believes the same things about servers and ports that you do.
(Turns out the process needed to be told that 443 is not 8443)
Tags:linux·networking·strace
Recovering your deleted photos from your digital camera
February 4th, 2007 · No Comments · general
PhotoRec can recover your deleted photos from your digital camera or memory card.
All memory cards1 use the FAT32 file system from Microsoft. This filesystem does not physically delete files, but just marks them as deleted.
I needed to a tool to quickly let me recover or undelete all those photos. An “apt-cache search dos recovery” in […]
