Archive for the ‘OpenSSL’ Category

converting ssl cert from PKCS#12 to PEM

Wednesday, July 28th, 2010

$ openssl pkcs12 -in /path/to/my/cert.p12 -out /pathto/my/cert.pem

If you get “X509_check_private_key:key values mismatch” e.g. with stunnel, then try adding -clcerts

$ openssl pkcs12 -clcerts -in /path/to/my/cert.p12 -out /pathto/my/cert.pem

subversion/ssl with client certs stopped working?

Friday, May 29th, 2009

There’s a bug in (at least some versions of) Ubuntu, which means the wrong library is being picked up.

https://bugs.launchpad.net/ubuntu/+source/subversion/+bug/294648

Workaround: LD_PRELOAD=/usr/lib/libneon.so.27 svn