mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-08 17:42:09 +03:00
Updating makefile to document key generation
Signed-off-by: Mukesh Bharsakle <bharsaklemukesh975@gmail.com>
This commit is contained in:
@@ -41,6 +41,10 @@ test_ca_key_file_rsa = test-ca.key
|
|||||||
test_ca_pwd_rsa = PolarSSLTest
|
test_ca_pwd_rsa = PolarSSLTest
|
||||||
test_ca_config_file = test-ca.opensslconf
|
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)
|
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
|
$(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
|
all_intermediate += test-ca.req.sha256
|
||||||
|
Reference in New Issue
Block a user