summaryrefslogtreecommitdiff
path: root/src/ejabberd_pkix.erl
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2017-11-01 10:14:34 +0300
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2017-11-01 10:14:34 +0300
commitae07fd7f10d652a30e0ce57f5b32309375b9762c (patch)
tree0026d3f4ff18376f6b4a13a9e427570c421745b4 /src/ejabberd_pkix.erl
parentAvoid using "bag" ETS type for certificate storage (diff)
Clarify some error/warning messages
Diffstat (limited to 'src/ejabberd_pkix.erl')
-rw-r--r--src/ejabberd_pkix.erl11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/ejabberd_pkix.erl b/src/ejabberd_pkix.erl
index cfbfa9b0..6accf0c2 100644
--- a/src/ejabberd_pkix.erl
+++ b/src/ejabberd_pkix.erl
@@ -201,7 +201,11 @@ handle_call({route_registered, Host}, _, State) ->
error ->
?WARNING_MSG("No certificate found matching '~s': strictly "
"configured clients or servers will reject "
- "connections with this host", [Host])
+ "connections with this host; obtain "
+ "a certificate for this (sub)domain from any "
+ "trusted CA such as Let's Encrypt "
+ "(www.letsencrypt.org)",
+ [Host])
end,
{reply, ok, NewState};
{error, _} ->
@@ -703,7 +707,10 @@ start_fs() ->
{error, {already_loaded, _}} -> true;
{error, Reason} ->
?ERROR_MSG("Failed to load 'fs' Erlang application: ~p; "
- "certificates change detection will be disabled",
+ "certificates change detection will be disabled. "
+ "You should now manually run `ejabberdctl "
+ "reload_config` whenever certificates are changed "
+ "on disc",
[Reason]),
false
end.