[tor-talk] How to pin the SSL certificate for torproject.org?

Maxim Kammerer mk at dee.su
Fri Jul 6 16:53:24 UTC 2012


On Fri, Jul 6, 2012 at 7:24 PM,  <proper at secure-mail.biz> wrote:
> I didn't even archive to get torproject.org's public key. That's what I used.
> openssl s_client -showcerts -connect www.torproject.org:443 >/tmp/x.cert </dev/null
>
> But it doesn't contain the begin public key block. I am not sure what to use from that file or if I am on the complete wrong path. If you can help out with it, that'd be great!

Try the following commands on each of the certificates in the chain:
openssl x509 -in cert.pem -noout -text -pubkey

-- 
Maxim Kammerer
Liberté Linux: http://dee.su/liberte


More information about the tor-talk mailing list