Diff

Differences From Artifact [dcbc2db73e]:

To Artifact [7fd88860f5]:




1
2
3

4
5
6
7
8
9
10
11
12
13
14


all: cert-0.crt

rel3_dodroot_2048.cac:

	wget -O Certificates_PKCS7_v4.1_DoD.zip http://iasecontent.disa.mil/pki-pke/Certificates_PKCS7_v4.1_DoD.zip
	unzip Certificates_PKCS7_v4.1_DoD.zip Certificates_PKCS7_v4.1_DoD/Certificates_PKCS7_v4.1_DoD.der.p7b
	mv Certificates_PKCS7_v4.1_DoD/Certificates_PKCS7_v4.1_DoD.der.p7b "$@"
	rm -rf Certificates_PKCS7_v4.1_DoD Certificates_PKCS7_v4.1_DoD.zip

cert-%.crt: rel3_dodroot_2048.cac
	idx=0; \
	( \
		openssl pkcs7 -in rel3_dodroot_2048.cac -inform DER -print_certs -text; \
	) | while IFS='' read -r line; do \
		if [ -z "$${line}" ]; then \
>
>



>
|
|
|
|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
DOD_CERTS_VERSION = 5.1

all: cert-0.crt

rel3_dodroot_2048.cac:
	rm -f __TMP__.zip
	wget -O __TMP__.zip http://iasecontent.disa.mil/pki-pke/Certificates_PKCS7_v$(DOD_CERTS_VERSION)_DoD.zip
	unzip __TMP__.zip '*/*.der.p7b'
	mv */*.der.p7b "$@"
	rm -rf Certificates_P* __TMP__.zip

cert-%.crt: rel3_dodroot_2048.cac
	idx=0; \
	( \
		openssl pkcs7 -in rel3_dodroot_2048.cac -inform DER -print_certs -text; \
	) | while IFS='' read -r line; do \
		if [ -z "$${line}" ]; then \