Updating makefile to document key generation
Signed-off-by: Mukesh Bharsakle <bharsaklemukesh975@gmail.com>
This commit is contained in:
parent
1a4cc5e92c
commit
b17f6a211d
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue