summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2018-03-01 19:43:36 +0000
committerPeter Powell <petpow@saberuk.com>2018-03-01 19:43:36 +0000
commit27e92622b5655c3ecf3182bc511adfb8a07b8722 (patch)
tree7389b7579de5636b39e77b7d9b2d6820105f39a1 /configure
parent7e5e4a5ae2321b1db3fbcf252dc8c71c4316e9a3 (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.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 9 insertions, 1 deletions
diff --git a/configure b/configure
index 04981f6fd..db0464d19 100755
--- a/configure
+++ b/configure
@@ -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';
}