mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-09-15 22:59:55 +00:00
data_files: add server11-rsa-signed.crt
This is almost identical to "server5-rsa-signed.crt" in the sense that it includes an EC public key and it's signed with an RSA one. The main difference compared to "server5-rsa-signed.crt" is that in this case we're using a secp256k1 key, instead the companion one uses a secp256r1. The important thing here is that the "k1" type does not belong to "suite-b", while "r1" does. Signed-off-by: Valerio Setti <[email protected]>
This commit is contained in:
@@ -636,6 +636,18 @@ server10_int3_spurious_int-ca2.crt: server10.crt test-int-ca3.crt $(test_ca_int_
|
||||
cat $^ > $@
|
||||
all_final += server10_int3_spurious_int-ca2.crt
|
||||
|
||||
# server11 *
|
||||
|
||||
# This is basically identical to "server5-rsa-signed.crt" but using a secp256k1
|
||||
# key instead of secp256r1 one in order not to fall in the list of allowed curves
|
||||
# for suite-b profile.
|
||||
server11-rsa-signed.crt: server11.key
|
||||
$(MBEDTLS_CERT_WRITE) subject_key=$< subject_name="C=NL,O=PolarSSL,CN=localhost" serial=13 \
|
||||
issuer_crt=$(test_ca_crt) issuer_key=$(test_ca_key_file_rsa) issuer_pwd=$(test_ca_pwd_rsa) \
|
||||
not_before=20190210144406 not_after=20290210144406 \
|
||||
md=SHA1 version=3 output_file=$@
|
||||
all_final += server11-rsa-signed.crt
|
||||
|
||||
rsa_pkcs1_2048_public.pem: server8.key
|
||||
$(OPENSSL) rsa -in $< -outform PEM -RSAPublicKey_out -out $@
|
||||
all_final += rsa_pkcs1_2048_public.pem
|
||||
|
||||
Reference in New Issue
Block a user