From b17f6a211daa6df3d7783f9a1373ba21fe8ca117 Mon Sep 17 00:00:00 2001 From: Mukesh Bharsakle Date: Wed, 12 Apr 2023 00:05:45 +0100 Subject: [PATCH] Updating makefile to document key generation Signed-off-by: Mukesh Bharsakle --- tests/data_files/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/data_files/Makefile b/tests/data_files/Makefile index 4228f4582..c23db51b1 100644 --- a/tests/data_files/Makefile +++ b/tests/data_files/Makefile @@ -41,6 +41,10 @@ test_ca_key_file_rsa = test-ca.key test_ca_pwd_rsa = PolarSSLTest test_ca_config_file = test-ca.opensslconf +$(test_ca_key_file_rsa):$(test_ca_pwd_rsa) + $(OPENSSL) genrsa -aes-128-cbc -passout pass:$< -out $@ 2048 +all_final += $(test_ca_key_file_rsa) + test-ca.req.sha256: $(test_ca_key_file_rsa) $(MBEDTLS_CERT_REQ) output_file=$@ filename=$(test_ca_key_file_rsa) password=$(test_ca_pwd_rsa) subject_name="C=NL,O=PolarSSL,CN=PolarSSL Test CA" md=SHA256 all_intermediate += test-ca.req.sha256