diff options
author | Sadie Powell <sadie@witchery.services> | 2020-09-26 23:32:09 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2020-09-26 23:34:03 +0100 |
commit | b64fe8320ecbcc3f6099a3c0ae1b2739447bfc76 (patch) | |
tree | 927a8ad5bc5c1098f42db2c185cfe1e93d8d6a9a /configure | |
parent | d0bb6bd79a7909b498ad018b4a9f6f90d4e89787 (diff) |
Store generated SSL certificates in the .configure directory.
Co-Authored-By: Nicole Kleinhoff <ilbelkyr@shalture.org>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -393,9 +393,10 @@ EOQ if (<$RealDir/src/modules/m_ssl_*.cpp>) { if (prompt_bool $interactive, $question, $interactive) { - system './tools/genssl', 'auto'; + create_directory CONFIGURE_DIRECTORY, 0750 or print_error "unable to create ${\CONFIGURE_DIRECTORY}: $!"; + system './tools/genssl', 'auto', CONFIGURE_DIRECTORY; } else { - my @pems = <$RealDir/{cert,csr,dhparams,key}.pem>; + my @pems = <${\CONFIGURE_DIRECTORY}/{cert,csr,dhparams,key}.pem>; $question = <<EOQ; The following self-signed files were previously generated and will be installed when you run Make. Do you want to delete them? |