Bug 1416144

Summary: libreswan needs to check intermediate CRLs in strict mode - but after validating subCA against root CA (and its CRL)
Product: Red Hat Enterprise Linux 7 Reporter: Paul Wouters <pwouters>
Component: libreswanAssignee: Paul Wouters <pwouters>
Status: CLOSED ERRATA QA Contact: Ondrej Moriš <omoris>
Severity: medium Docs Contact:
Priority: high    
Version: 7.4CC: jaster, kengert, kperrier, ksrot, mrogers, omoris, pvrabec, pwouters, qe-baseos-security
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 3.20-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1416143 Environment:
Last Closed: 2017-08-01 12:31:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1360134, 1416143    
Bug Blocks: 1269194, 1420851    

Comment 2 Paul Wouters 2017-04-21 04:25:03 UTC
this change came in with rebase, as it was fixed upstream in 3.19

Comment 3 Paul Wouters 2017-04-21 04:29:35 UTC
Related upstream testcases at 

https://github.com/libreswan/libreswan/tree/master/testing/pluto

nss-cert-chain-01
nss-cert-chain-01-ikev2
nss-cert-chain-02
nss-cert-chain-02-ikev2
nss-cert-chain-03
nss-cert-chain-03-ikev2
nss-cert-chain-04
nss-cert-chain-04-ikev2
nss-cert-ocsp-01-chain

It requires specially generates certificates. You can use the usptream script: 
https://github.com/libreswan/libreswan/blob/master/testing/x509/dist_certs.py

Comment 5 Ondrej Moriš 2017-06-23 10:03:39 UTC
Verified SanityOnly.

Comment 6 errata-xmlrpc 2017-08-01 12:31:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:2101