Lines Matching refs:ca

39 test_ca_crt = test-ca.crt
40 test_ca_key_file_rsa = test-ca.key
43 test_ca_config_file = test-ca.opensslconf
51 test-ca.req.sha256: $(test_ca_key_file_rsa)
53 all_intermediate += test-ca.req.sha256
55 parse_input/test-ca.crt test-ca.crt: $(test_ca_key_file_rsa) test-ca.req.sha256
56 $(MBEDTLS_CERT_WRITE) is_ca=1 serial=3 request_file=test-ca.req.sha256 selfsign=1 issuer_name="C=NL,O=PolarSSL,CN=PolarSSL Test CA" issuer_key=$(test_ca_key_file_rsa) issuer_pwd=$(test_ca_pwd_rsa) not_before=20190210144400 not_after=20290210144400 md=SHA1 version=3 output_file=$@
57 all_final += test-ca.crt
59 parse_input/test-ca.crt.der: parse_input/test-ca.crt
62 test-ca.key.der: $(test_ca_key_file_rsa)
64 all_final += test-ca.key.der
74 test-ca-sha1.crt: $(test_ca_key_file_rsa) test-ca.req.sha256
75 $(MBEDTLS_CERT_WRITE) is_ca=1 serial=3 request_file=test-ca.req.sha256 selfsign=1 issuer_name="C=NL,O=PolarSSL,CN=PolarSSL Test CA" issuer_key=$(test_ca_key_file_rsa) issuer_pwd=$(test_ca_pwd_rsa) not_before=20190210144400 not_after=20290210144400 md=SHA1 version=3 output_file=$@
76 all_final += test-ca-sha1.crt
78 test-ca-sha1.crt.der: test-ca-sha1.crt
80 all_final += test-ca-sha1.crt.der
82 test-ca-sha256.crt: $(test_ca_key_file_rsa) test-ca.req.sha256
83 $(MBEDTLS_CERT_WRITE) is_ca=1 serial=3 request_file=test-ca.req.sha256 selfsign=1 issuer_name="C=NL,O=PolarSSL,CN=PolarSSL Test CA" issuer_key=$(test_ca_key_file_rsa) issuer_pwd=$(test_ca_pwd_rsa) not_before=20190210144400 not_after=20290210144400 md=SHA256 version=3 output_file=$@
84 all_final += test-ca-sha256.crt
86 test-ca-sha256.crt.der: test-ca-sha256.crt
88 all_final += test-ca-sha256.crt.der
102 test_ca_key_file_rsa_alt = test-ca-alt.key
173 $(test_ca_key_file_rsa_alt):test-ca.opensslconf
175 test-ca-alt.csr: $(test_ca_key_file_rsa_alt) $(test_ca_config_file)
177 all_intermediate += test-ca-alt.csr
178 test-ca-alt.crt: $(test_ca_key_file_rsa_alt) $(test_ca_config_file) test-ca-alt.csr
179 $(OPENSSL) req -x509 -config $(test_ca_config_file) -key $(test_ca_key_file_rsa_alt) -set_serial 0 -days 3653 -sha256 -in test-ca-alt.csr -out $@
180 all_final += test-ca-alt.crt
181 test-ca-alt-good.crt: test-ca-alt.crt test-ca-sha256.crt
182 cat test-ca-alt.crt test-ca-sha256.crt > $@
183 all_final += test-ca-alt-good.crt
184 test-ca-good-alt.crt: test-ca-alt.crt test-ca-sha256.crt
185 cat test-ca-sha256.crt test-ca-alt.crt > $@
186 all_final += test-ca-good-alt.crt
235 parse_input/test-ca-any_policy.crt: $(test_ca_key_file_rsa) test-ca.req.sha256
238 -set_serial 0 -days 3653 -sha256 -in test-ca.req.sha256 -out $@
240 parse_input/test-ca-any_policy_ec.crt: $(test_ca_key_file_ec) test-ca.req_ec.sha256
243 -in test-ca.req_ec.sha256 -out $@
245 parse_input/test-ca-any_policy_with_qualifier.crt: $(test_ca_key_file_rsa) test-ca.req.sha256
246 $(OPENSSL) req -x509 -config $(test_ca_config_file) -extensions v3_any_policy_qualifier_ca -key $(test_ca_key_file_rsa) -passin "pass:$(test_ca_pwd_rsa)" -set_serial 0 -days 3653 -sha256 -in test-ca.req.sha256 -out $@
248 parse_input/test-ca-any_policy_with_qualifier_ec.crt: $(test_ca_key_file_ec) test-ca.req_ec.sha256
249 $(OPENSSL) req -x509 -config $(test_ca_config_file) -extensions v3_any_policy_qualifier_ca -key $(test_ca_key_file_ec) -set_serial 0 -days 3653 -sha256 -in test-ca.req_ec.sha256 -out $@
251 parse_input/test-ca-multi_policy.crt: $(test_ca_key_file_rsa) test-ca.req.sha256
252 $(OPENSSL) req -x509 -config $(test_ca_config_file) -extensions v3_multi_policy_ca -key $(test_ca_key_file_rsa) -passin "pass:$(test_ca_pwd_rsa)" -set_serial 0 -days 3653 -sha256 -in test-ca.req.sha256 -out $@
254 parse_input/test-ca-multi_policy_ec.crt: $(test_ca_key_file_ec) test-ca.req_ec.sha256
255 $(OPENSSL) req -x509 -config $(test_ca_config_file) -extensions v3_multi_policy_ca -key $(test_ca_key_file_ec) -set_serial 0 -days 3653 -sha256 -in test-ca.req_ec.sha256 -out $@
257 parse_input/test-ca-unsupported_policy.crt: $(test_ca_key_file_rsa) test-ca.req.sha256
258 $(OPENSSL) req -x509 -config $(test_ca_config_file) -extensions v3_unsupported_policy_ca -key $(test_ca_key_file_rsa) -passin "pass:$(test_ca_pwd_rsa)" -set_serial 0 -days 3653 -sha256 -in test-ca.req.sha256 -out $@
260 parse_input/test-ca-unsupported_policy_ec.crt: $(test_ca_key_file_ec) test-ca.req_ec.sha256
261 $(OPENSSL) req -x509 -config $(test_ca_config_file) -extensions v3_unsupported_policy_ca -key $(test_ca_key_file_ec) -set_serial 0 -days 3653 -sha256 -in test-ca.req_ec.sha256 -out $@
263 test-ca.req_ec.sha256: $(test_ca_key_file_ec)
265 all_intermediate += test-ca.req_ec.sha256
285 test-int-ca.csr: test-int-ca.key $(test_ca_config_file)
286 $(OPENSSL) req -new -config $(test_ca_config_file) -key test-int-ca.key -subj "/C=NL/O=PolarSSL/CN=PolarSSL Test Intermediate CA" -out $@
296 all_intermediate += test-int-ca.csr test-int-ca2.csr test-int-ca3.csr
298 test-int-ca.crt: $(test_ca_crt_file_ec) $(test_ca_key_file_ec) $(test_ca_config_file) test-int-ca.csr
301 -set_serial 14 -days 3653 -sha256 -in test-int-ca.csr -out $@
314 test-int-ca-exp.crt: $(test_ca_crt_file_ec) $(test_ca_key_file_ec) $(test_ca_config_file) test-int-ca.csr
315 $(FAKETIME) -f -3653d $(OPENSSL) x509 -req -extfile $(test_ca_config_file) -extensions v3_ca -CA $(test_ca_crt_file_ec) -CAkey $(test_ca_key_file_ec) -set_serial 14 -days 3653 -sha256 -in test-int-ca.csr -out $@
317 all_final += test-int-ca-exp.crt test-int-ca.crt test-int-ca2.crt test-int-ca3.crt
320 $(MBEDTLS_CERT_WRITE) subject_key=rsa_pkcs1_1024_clear.pem subject_name="CN=dw.yonan.net" issuer_crt=enco-ca-prstr.pem issuer_key=rsa_pkcs1_1024_clear.pem not_before=20190210144406 not_after=20290210144406 md=SHA1 version=3 output_file=$@
323 $(OPENSSL) ca -gencrl -batch -cert $(test_ca_crt) -keyfile $(test_ca_key_file_rsa) -key $(test_ca_pwd_rsa) -config $(test_ca_config_file) -name test_ca -md sha256 -crldays 3653 -crlexts crl_ext_idp -out $@
325 $(OPENSSL) ca -gencrl -batch -cert $(test_ca_crt) -keyfile $(test_ca_key_file_rsa) -key $(test_ca_pwd_rsa) -config $(test_ca_config_file) -name test_ca -md sha256 -crldays 3653 -crlexts crl_ext_idp_nc -out $@
352 test_ca_int_rsa1 = test-int-ca.crt
364 -CA $(test_ca_int_rsa1) -CAkey test-int-ca.key \
369 $(FAKETIME) -f -3653d $(OPENSSL) x509 -req -extfile $(cli_crt_extensions_file) -extensions cli-rsa -CA $(test_ca_int_rsa1) -CAkey test-int-ca.key -set_serial 16 -days 3653 -sha256 -in server7.csr | cat - $(test_ca_int_rsa1) > $@
373 $(FAKETIME) -f +3653d $(OPENSSL) x509 -req -extfile $(cli_crt_extensions_file) -extensions cli-rsa -CA $(test_ca_int_rsa1) -CAkey test-int-ca.key -set_serial 16 -days 3653 -sha256 -in server7.csr | cat - $(test_ca_int_rsa1) > $@
380 parse_input/server7_int-ca.crt server7_int-ca.crt: server7.crt $(test_ca_int_rsa1)
382 all_final += server7_int-ca.crt
388 { cat server7.crt | sed '4s/\(.\)$$/ \1/'; cat test-int-ca.crt | sed '4s/\(.\)$$/ \1/'; } > $@
397 server7_int-ca-exp.crt: server7.crt test-int-ca-exp.crt
398 cat server7.crt test-int-ca-exp.crt > $@
399 all_final += server7_int-ca-exp.crt
401 server7_spurious_int-ca.crt: server7.crt $(test_ca_int_ec) $(test_ca_int_rsa1)
403 all_final += server7_spurious_int-ca.crt
577 server9-with-ca.crt: server9.crt $(test_ca_crt)
579 all_final += server9-with-ca.crt
593 ../scripts/generate_server9_bad_saltlen.py --ca-name test-ca \
594 --ca-password $(test_ca_pwd_rsa) --csr server9.csr \
1594 test_ca_server1_db = test-ca.server1.db
1595 test_ca_server1_serial = test-ca.server1.serial
1596 test_ca_server1_config_file = test-ca.server1.opensslconf
1612 echo "112233445566778899aabbccddeeff0011223344" > test-ca.server1.tmp.serial
1613 $(OPENSSL) ca -in server1.req.sha256 -key PolarSSLTest -config test-ca.server1.test_serial.opensslconf -notext -batch -out $@
1615 echo "8011223344" > test-ca.server1.tmp.serial
1616 $(OPENSSL) ca -in server1.req.sha256 -key PolarSSLTest -config test-ca.server1.test_serial.opensslconf -notext -batch -out $@
1618 echo "ffffffffffffffffffffffffffffffff" > test-ca.server1.tmp.serial
1619 $(OPENSSL) ca -in server1.req.sha256 -key PolarSSLTest -config test-ca.server1.test_serial.opensslconf -notext -batch -out $@
1668 server1.ca.crt: server1.key server1.req.sha256 $(test_ca_crt) $(test_ca_key_file_rsa)
1672 server1.ca.der: server1.ca.crt
1674 all_final += server1.ca.crt server1.ca_noauthid.crt server1.ca.der
1676 server1-nospace.crt: server1.key test-ca.crt
1679 issuer_crt=test-ca.crt issuer_key=$(test_ca_key_file_rsa) \
1721 $(OPENSSL) ca -batch -passin "pass:$(test_ca_pwd_rsa)" -config $(test_ca_server1_config_file) -in server1.req.sha256 -extensions v3_ext -extfile $@.v3_ext -out $@
1733 $(OPENSSL) ca -batch -passin "pass:$(test_ca_pwd_rsa)" -config $(test_ca_server1_config_file) -in server1.req.sha256 -out $@
1739 # $(OPENSSL) ca -gencrl -batch -cert $(test_ca_crt) -keyfile $(test_ca_key_file_rsa) -key $(test_ca_pwd_rsa) -config $(test_ca_server1_config_file) -md sha256 -crldays 365 -revoke server1.crt
1742 $(OPENSSL) ca -gencrl -batch -cert $(test_ca_crt) -keyfile $(test_ca_key_file_rsa) -key $(test_ca_pwd_rsa) -config $(test_ca_server1_config_file) -md sha1 -crldays 3653 -out $@
1746 test-ca.server1.future-crl.db \
1747 test-ca.server1.future-crl.opensslconf
1748 $(FAKETIME) -f '+10y' $(OPENSSL) ca -gencrl \
1749 -config test-ca.server1.future-crl.opensslconf -crldays 365 \
2043 # - test-ca-v1.crt: v1 "CA", signs
2047 test-ca-v1.crt: $(test_ca_key_file_rsa) test-ca.req.sha256
2049 request_file=test-ca.req.sha256 \
2054 all_final += test-ca-v1.crt
2056 server1-v1.crt: server1.key test-ca-v1.crt
2058 subject_name="CN=server1/int-ca-v1,OU=testing,O=PolarSSL,C=NL" \
2059 issuer_crt=test-ca-v1.crt issuer_key=$(test_ca_key_file_rsa) \
2086 test-ca-sha256.crt \
2087 test-ca-sha256.crt.der \
2088 test-ca-sha1.crt \
2089 test-ca-sha1.crt.der \
2090 test-ca.key \
2091 test-ca.key.der \
2118 --string TEST_CA_CRT_RSA_SHA256_PEM=test-ca-sha256.crt \
2119 --binary TEST_CA_CRT_RSA_SHA256_DER=test-ca-sha256.crt.der \
2120 --string TEST_CA_CRT_RSA_SHA1_PEM=test-ca-sha1.crt \
2121 --binary TEST_CA_CRT_RSA_SHA1_DER=test-ca-sha1.crt.der \
2122 --string TEST_CA_KEY_RSA_PEM=test-ca.key \
2124 --binary TEST_CA_KEY_RSA_DER=test-ca.key.der \