]> git.ipfire.org Git - thirdparty/openvpn.git/commit
ocsp_check - signature verification and cert staus results are separate
authorHubert Kario <hkario@redhat.com>
Fri, 26 Sep 2014 10:24:00 +0000 (12:24 +0200)
committerGert Doering <gert@greenie.muc.de>
Mon, 6 Oct 2014 13:10:03 +0000 (15:10 +0200)
commit99400ef8524a5565a40637c825f4dcde475c54dd
treee2e42a35dd37d8985131ce2ea76de8cd2d20b646
parent72cbc106d95fb18892c739f128d29d4f54179771
ocsp_check - signature verification and cert staus results are separate

when openssl returns result of parsing and verification of the
OCSP response, the signature verification is separate from the certificate
status, as such it's necessary to check both of them.

Otherwise results like:

Response Verify Failure
140170966779776:error:27069076:OCSP routines:OCSP_basic_verify:signer
certificate not found:ocsp_vfy.c:85:
ca/cert.pem: good
        This Update: Sep 23 12:12:28 2014 GMT

will be accepted as being trustworthy.

Note that "Response verify OK" is printed on stderr, so it can't
be discarded.

Signed-off-by: Hubert Kario <hkario@redhat.com>
Acked-by: Steffan Karger <steffan.karger@fox-it.com>
Message-Id: <1411727041-11884-1-git-send-email-hkario@redhat.com>
URL: http://article.gmane.org/gmane.network.openvpn.devel/9054
Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit e0c9e8452932a964b556daaeacdf7d9eab133e36)
contrib/OCSP_check/OCSP_check.sh