diff options
author | Peter Powell <petpow@saberuk.com> | 2018-03-01 19:43:36 +0000 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2018-03-01 19:43:36 +0000 |
commit | 27e92622b5655c3ecf3182bc511adfb8a07b8722 (patch) | |
tree | 7389b7579de5636b39e77b7d9b2d6820105f39a1 | |
parent | 7e5e4a5ae2321b1db3fbcf252dc8c71c4316e9a3 (diff) |
Improve the message shown to the admin when generating SSL certs.
Self-signed SSL certificates are intended for testing purposes. A
production server should be using a CA-signed certificate instead.
-rwxr-xr-x | configure | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -303,7 +303,15 @@ if (prompt_bool $interactive, $question, 0) { } # Generate SSL certificates. -if (<src/modules/m_ssl_*.cpp> && prompt_bool $interactive, 'Would you like to generate SSL certificates now?', $interactive) { +$question = <<EOQ; +Would you like to generate a self-signed SSL certificate now? This certificate +can be used for testing but <|BOLD should not|> be used on a production network. + +Note: you can get a <|BOLD free|> CA-signed certificate from Let's Encrypt. See +https://letsencrypt.org/getting-started/ for more details. +EOQ + +if (<src/modules/m_ssl_*.cpp> && prompt_bool $interactive, $question, $interactive) { system './tools/genssl', 'auto'; } |