Re:Encrypt a file so that only a SSL site's private key can ...
by inaequitas on Sunday April 03, 2011 @06:02AM
(#2402302)
Zed Shaw wrote this (https://twitter.com/#!/zedshaw/status/54434747652390912) and then him and Dan Kaminski had a good talk on Twitter about it.
[ Parent
| on HN ]
Re:Encrypt a file so that only a SSL site's private key can ...
by zwp on Sunday April 03, 2011 @07:23AM
(#2402439)
Great I think that got most of it (validation!) but revocation checking worries me and a skim of the OpenSSL (0.9.8o) sources doesn't leave me with the warm'n'fuzzies.
s_client.c calls SSL_CTX_set_verify() (the default verifier). Results from that can be obtained from SSL_get_verify_result() and are documented in verify(1).
All of the CRL/revocation-related return codes there are marked "unused". There is no mention of OCSP.
I found found a "crl_check/crl_check_all" option for verify(1). Command line help mentions an "ocsphelper". OpenSSL does have a separate OCSP client. But I don't think any of this machinery is activated by default.