aboutsummaryrefslogtreecommitdiff
path: root/src/ejabberd_acme.erl
diff options
context:
space:
mode:
authorKonstantinos Kallas <konstantinos.kallas@hotmail.com>2017-08-19 13:32:13 +0300
committerKonstantinos Kallas <konstantinos.kallas@hotmail.com>2017-08-19 13:32:13 +0300
commite45f7ddfec2a7e2dec8f6cf0c6f2b873ee288d70 (patch)
treec0614d8275cd18c757610e6f554a36ba7bbc2a3d /src/ejabberd_acme.erl
parentAdd acme certificates for all configured hosts in ejabberd_pkix (diff)
Cleanup some comments:
Diffstat (limited to '')
-rw-r--r--src/ejabberd_acme.erl5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/ejabberd_acme.erl b/src/ejabberd_acme.erl
index 62368abee..5151e3fbc 100644
--- a/src/ejabberd_acme.erl
+++ b/src/ejabberd_acme.erl
@@ -568,10 +568,6 @@ certificate_exists(Host) ->
%% For now we accept only generating a key of
%% specific type for signing the csr
-%% TODO: Make this function handle more signing keys
-%% 1. Derive oid from Key
-%% 2. Derive the whole algo objects from Key
-%% TODO: Encode Strings using length using a library function
-spec make_csr(proplist()) -> {binary(), jose_jwk:key()}.
make_csr(Attributes) ->
@@ -722,7 +718,6 @@ get_challenges(Body) ->
-spec not_before_not_after() -> {binary(), binary()}.
not_before_not_after() ->
- %% TODO: Make notBefore and notAfter configurable somewhere
{MegS, Sec, MicS} = erlang:timestamp(),
NotBefore = xmpp_util:encode_timestamp({MegS, Sec, MicS}),
%% The certificate will be valid for 90 Days after today