Skip to content

Instantly share code, notes, and snippets.

@chr4
Created June 18, 2013 13:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chr4/5805334 to your computer and use it in GitHub Desktop.
Save chr4/5805334 to your computer and use it in GitHub Desktop.
openssl -hash doesn't hash correctly on debian squeeze?
# Console applications keep failing when accessing cacert.org HTTPS resources on Debian Squeeze.
# When setting the link manually, it works
squeeze$ openssl x509 -hash -noout -in /etc/ssl/certs/cacert.org.pem
5ed36f99
wheezy$ openssl x509 -hash -noout -in /etc/ssl/certs/cacert.org.pem
99d0fa06
raring$ openssl x509 -hash -noout -in /etc/ssl/certs/cacert.org.pem
99d0fa06
# To fix, I had to manually set the correct symlink
$ cd /etc/ssl/certs
$ ln -s cacert.org.pem 99d0fa06.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment