Add keys for tls13 compat tests
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
8c5559d700
commit
0f99af8c19
@ -1087,6 +1087,43 @@ cert_md5.crt: cert_md5.csr
|
||||
$(MBEDTLS_CERT_WRITE) request_file=$< serial=6 issuer_crt=$(test_ca_crt) issuer_key=$(test_ca_key_file_rsa) issuer_pwd=$(test_ca_pwd_rsa) not_before=20000101121212 not_after=20300101121212 md=MD5 version=3 output_file=$@
|
||||
all_final += cert_md5.crt
|
||||
|
||||
# TLSv1.3 test certificates
|
||||
ecdsa_secp256r1_sha256.key: ec_256_prv.pem
|
||||
ln -s $< $@
|
||||
ecdsa_secp256r1_sha256.csr: ecdsa_secp256r1_sha256.key
|
||||
$(OPENSSL) req -new -subj "/C=NL/O=PolarSSL/CN=localhost" \
|
||||
-key $< -out $@
|
||||
all_intermediate += ecdsa_secp256r1_sha256.csr
|
||||
ecdsa_secp256r1_sha256.crt: ecdsa_secp256r1_sha256.csr
|
||||
$(OPENSSL) x509 -req -CA $(test_ca_crt_file_ec) -CAkey $(test_ca_key_file_ec) \
|
||||
-set_serial 77 -days 3653 -sha256 -in $< -out $@
|
||||
all_final += ecdsa_secp256r1_sha256.crt ecdsa_secp256r1_sha256.key
|
||||
tls13_certs: ecdsa_secp256r1_sha256.crt ecdsa_secp256r1_sha256.key
|
||||
|
||||
ecdsa_secp384r1_sha384.key: ec_384_prv.pem
|
||||
ln -s $< $@
|
||||
ecdsa_secp384r1_sha384.csr: ecdsa_secp384r1_sha384.key
|
||||
$(OPENSSL) req -new -subj "/C=NL/O=PolarSSL/CN=localhost" \
|
||||
-key $< -out $@
|
||||
all_intermediate += ecdsa_secp384r1_sha384.csr
|
||||
ecdsa_secp384r1_sha384.crt: ecdsa_secp384r1_sha384.csr
|
||||
$(OPENSSL) x509 -req -CA $(test_ca_crt_file_ec) -CAkey $(test_ca_key_file_ec) \
|
||||
-set_serial 77 -days 3653 -sha384 -in $< -out $@
|
||||
all_final += ecdsa_secp384r1_sha384.crt ecdsa_secp384r1_sha384.key
|
||||
tls13_certs: ecdsa_secp384r1_sha384.crt ecdsa_secp384r1_sha384.key
|
||||
|
||||
ecdsa_secp521r1_sha512.key: ec_521_prv.pem
|
||||
ln -s $< $@
|
||||
ecdsa_secp521r1_sha512.csr: ecdsa_secp521r1_sha512.key
|
||||
$(OPENSSL) req -new -subj "/C=NL/O=PolarSSL/CN=localhost" \
|
||||
-key $< -out $@
|
||||
all_intermediate += ecdsa_secp521r1_sha512.csr
|
||||
ecdsa_secp521r1_sha512.crt: ecdsa_secp521r1_sha512.csr
|
||||
$(OPENSSL) x509 -req -CA $(test_ca_crt_file_ec) -CAkey $(test_ca_key_file_ec) \
|
||||
-set_serial 77 -days 3653 -sha512 -in $< -out $@
|
||||
all_final += ecdsa_secp521r1_sha512.crt ecdsa_secp521r1_sha512.key
|
||||
tls13_certs: ecdsa_secp521r1_sha512.crt ecdsa_secp521r1_sha512.key
|
||||
|
||||
################################################################
|
||||
#### Diffie-Hellman parameters
|
||||
################################################################
|
||||
|
10
tests/data_files/ecdsa_secp256r1_sha256.crt
Normal file
10
tests/data_files/ecdsa_secp256r1_sha256.crt
Normal file
@ -0,0 +1,10 @@
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIBejCCAQACAU0wCgYIKoZIzj0EAwIwPjELMAkGA1UEBhMCTkwxETAPBgNVBAoM
|
||||
CFBvbGFyU1NMMRwwGgYDVQQDDBNQb2xhcnNzbCBUZXN0IEVDIENBMB4XDTIxMTEy
|
||||
MjAzMTQyOVoXDTMxMTEyMzAzMTQyOVowNDELMAkGA1UEBhMCTkwxETAPBgNVBAoM
|
||||
CFBvbGFyU1NMMRIwEAYDVQQDDAlsb2NhbGhvc3QwWTATBgcqhkjOPQIBBggqhkjO
|
||||
PQMBBwNCAAR3cmVvgUs5knnV4fF4H6xvCZo8XKGw41NRg0sItl4LVyWQza+PdpNh
|
||||
vPNKz8EeXgdOhCa93gS+bmU5RUSWF95FMAoGCCqGSM49BAMCA2gAMGUCMQC2n8wV
|
||||
FGkDUu0O1sUmTfZ9hxj9YxmddY3xStnicIVxIwRtGh1ZEinAUlAUFOVSKvcCMEGb
|
||||
e9ap8blL/MIPywf6vr4WWo0GnTgD0XPwgVu8QrXwaHzhgF+x4S+qm3XLosgCjA==
|
||||
-----END CERTIFICATE-----
|
1
tests/data_files/ecdsa_secp256r1_sha256.key
Symbolic link
1
tests/data_files/ecdsa_secp256r1_sha256.key
Symbolic link
@ -0,0 +1 @@
|
||||
ec_256_prv.pem
|
11
tests/data_files/ecdsa_secp384r1_sha384.crt
Normal file
11
tests/data_files/ecdsa_secp384r1_sha384.crt
Normal file
@ -0,0 +1,11 @@
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIBljCCAR0CAU0wCgYIKoZIzj0EAwMwPjELMAkGA1UEBhMCTkwxETAPBgNVBAoM
|
||||
CFBvbGFyU1NMMRwwGgYDVQQDDBNQb2xhcnNzbCBUZXN0IEVDIENBMB4XDTIxMTEy
|
||||
MjAzMTQyOVoXDTMxMTEyMzAzMTQyOVowNDELMAkGA1UEBhMCTkwxETAPBgNVBAoM
|
||||
CFBvbGFyU1NMMRIwEAYDVQQDDAlsb2NhbGhvc3QwdjAQBgcqhkjOPQIBBgUrgQQA
|
||||
IgNiAATZxmK1C6KcpHmQRQ4EOur08MabFWdtES9iKnHJMFmvmZaRxWgNK0TREVed
|
||||
sS9KQTou1cRfz7Z7W2PgC5Hr5Z0JprGsLAxCgqoSMX7VkU+Zm8SIuxMug0LMNvLK
|
||||
XjN5x0cwCgYIKoZIzj0EAwMDZwAwZAIwXT9d8T51CEKEEmAoIM+C5hpUR2wZA0h4
|
||||
MhEBNztbMPZbmCDsYCMCSfPX8WZd0j0GAjAIc8t/78oYiB/JerLS6tft4QVi+x0x
|
||||
DeTGA3ubd7Jv4f8slit7DCGwjcvj1Gst8uE=
|
||||
-----END CERTIFICATE-----
|
1
tests/data_files/ecdsa_secp384r1_sha384.key
Symbolic link
1
tests/data_files/ecdsa_secp384r1_sha384.key
Symbolic link
@ -0,0 +1 @@
|
||||
ec_384_prv.pem
|
12
tests/data_files/ecdsa_secp521r1_sha512.crt
Normal file
12
tests/data_files/ecdsa_secp521r1_sha512.crt
Normal file
@ -0,0 +1,12 @@
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIBvDCCAUMCAU0wCgYIKoZIzj0EAwQwPjELMAkGA1UEBhMCTkwxETAPBgNVBAoM
|
||||
CFBvbGFyU1NMMRwwGgYDVQQDDBNQb2xhcnNzbCBUZXN0IEVDIENBMB4XDTIxMTEy
|
||||
MjAzMTQyOVoXDTMxMTEyMzAzMTQyOVowNDELMAkGA1UEBhMCTkwxETAPBgNVBAoM
|
||||
CFBvbGFyU1NMMRIwEAYDVQQDDAlsb2NhbGhvc3QwgZswEAYHKoZIzj0CAQYFK4EE
|
||||
ACMDgYYABAAd4ULVT2nrA47kt6+dPKB3Nv2c9xnrNU1ph57n88E2+w+/nwj4a+X6
|
||||
Eo7BoFHT5sZD6Fraj/rPNmPCYL0shEtvVgDO6OSKnmXQnK3YnyNd7gXzuKZGvnFf
|
||||
H2fVtDTg/yOh/Afvd0AZPkDu/287zf12WqkVUDNST+TyBfVETiksTC9qwTAKBggq
|
||||
hkjOPQQDBANnADBkAjAxYbmIs+xKIvDgqE7uNOgqfVk4iEF9w5B4DQDXb7kbu4rg
|
||||
4QvqPhyBhptFiJabe9kCMFF1FKuHSQoMmZ1/yjBZg8r4/P8xKSY8W9ujHdam3jWK
|
||||
b8Ygw4ENklSl1cuHMLupMw==
|
||||
-----END CERTIFICATE-----
|
1
tests/data_files/ecdsa_secp521r1_sha512.key
Symbolic link
1
tests/data_files/ecdsa_secp521r1_sha512.key
Symbolic link
@ -0,0 +1 @@
|
||||
ec_521_prv.pem
|
Loading…
Reference in New Issue
Block a user