build(meson): generate key_encrypted.pem (#1221)

8191fd8e6c only added one of the two files
pull/1236/head
Andrea Pappacoda 5 months ago committed by GitHub
parent bf0760fde4
commit 020b0db090
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      test/meson.build

@ -33,6 +33,12 @@ cert2_pem = custom_target(
command: [openssl, 'req', '-x509', '-config', test_conf, '-key', '@INPUT@', '-sha256', '-days', '3650', '-nodes', '-out', '@OUTPUT@', '-extensions', 'SAN']
)
key_encrypted_pem = custom_target(
'key_encrypted_pem',
output: 'key_encrypted.pem',
command: [openssl, 'genrsa', '-passout', 'pass:test123!', '-out', '@OUTPUT@', '2048']
)
cert_encrypted_pem = custom_target(
'cert_encrypted_pem',
input: key_encrypted_pem,

Loading…
Cancel
Save