Diff

Differences From Artifact [f3527cc8d2]:

To Artifact [cb6b7e3e05]:


     1      1   all: cert-1.crt CPCA_TRCA.crt
            2  +	grep -l 'Issuer: C=US, O=U.S. Government, OU=FPKI, CN=Federal Bridge CA' *.crt | xargs rm -f
            3  +	grep -l 'Subject: C=US, O=U.S. Government, OU=FPKI, CN=Federal Common Policy CA' *.crt | xargs grep -l 'Issuer: C=US, O=U.S. Government, OU=Department of the Treasury, OU=Certification Authorities, OU=US Treasury Root CA' | xargs rm -f
     2      4   
     3      5   CPCA_TRCA.crt:
     4      6   	wget -O - --no-check-certificate https://pki.treas.gov/CPCA_TRCA.cer | openssl x509 -text > "$@.new"
     5      7   	mv "$@.new" "$@"
     6      8   
     7      9   caCertsIssuedTofcpca.p7c:
     8     10   	wget -O "$@.new" http://http.fpki.gov/fcpca/caCertsIssuedTofcpca.p7c
................................................................................
    22     24   			continue; \
    23     25   		fi; \
    24     26   		echo "$${line}" >> "cert-$${idx}.crt"; \
    25     27   		if [ "$${line}" == "-----END CERTIFICATE-----" ]; then \
    26     28   			idx=$$[$$idx + 1]; \
    27     29   		fi; \
    28     30   	done
    29         -	grep -l 'Subject: C=US, O=U.S. Government, OU=Department of the Treasury, OU=Certification Authorities, OU=US Treasury Root CA' cert-*.crt | xargs rm -f
    30     31   
    31     32   clean:
    32     33   	rm -f cert-*.crt
    33     34   	rm -f CPCA_TRCA.crt.new root_sia.p7b.new caCertsIssuedTofcpca.p7c.new
    34     35   
    35     36   distclean: clean
    36     37   	rm -f CPCA_TRCA.crt root_sia.p7b caCertsIssuedTofcpca.p7c