aboutsummaryrefslogtreecommitdiff
path: root/src/ejabberd_acme.erl (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-02-11Update copyright year to 2022Badlop1-1/+1
2021-08-23Export function, so ACME API commands are listed in the documentationBadlop1-1/+2
2021-01-27Update newest copyright year to 2021 (#3464)Badlop1-1/+1
2020-01-28Update copyright to 2020 (#3149)Badlop1-1/+1
2019-09-25Rename to p1_acmeEvgeny Khramtsov1-7/+7
2019-09-23Correctly handle unicode in log messagesEvgeny Khramtsov1-10/+10
2019-09-22Fix unicode formatting in ACME moduleEvgeny Khramtsov1-32/+32
2019-09-22Fix IDNA support in ACME requestsEvgeny Khramtsov1-14/+15
2019-09-22Don't forget to log an error message on IDNA failureEvgeny Khramtsov1-1/+4
2019-09-22Support IDN hostnames in ACME requestsEvgeny Khramtsov1-12/+31
2019-09-22Don't attempt to create acme directory on ejabberd startupEvgeny Khramtsov1-13/+8
2019-09-22Slightly improve arg exampleEvgeny Khramtsov1-1/+1
2019-09-22Don't allow requesting certificates for localhost or IP-like domainsEvgeny Khramtsov1-7/+21
2019-09-22Improve warning messageEvgeny Khramtsov1-6/+8
2019-09-20Fix typoEvgeny Khramtsov1-1/+1
2019-09-20Don't auto request certificate for localhost and IP-like domainsEvgeny Khramtsov1-1/+11
2019-09-20Improve ACME implementationEvgeny Khramtsov1-1094/+549
Fixes #2487, fixes #2590, fixes #2638
2019-07-12Process unexpected messages uniformlyEvgeny Khramtsov1-2/+3
2019-06-26Use correct stacktrace in logging macrosEvgeny Khramtsov1-7/+14
By calling erlang:get_stacktrace() inside a lager function we obtain actually a stacktrace of the lager function, not the one we got during exception. This is not a problem for newest Erlang versions though.
2019-06-24Make logging messages more consistentEvgeny Khramtsov1-2/+2
2019-06-14Use new configuration validatorEvgeny Khramtsov1-131/+52
2018-12-13Add code for handling deprecations of get_stacktrace()Paweł Chmielowski1-77/+71
2018-09-27Move certificates processing code to pkix applicationEvgeny Khramtsov1-1/+1
==== WARNING: MUST BE ADDED TO RELEASE NOTES ===== The commit introduces the following incompatibility: - Option 'ca_path' is deprecated and has no effect anymore: option 'ca_file' should be used instead if needed. ==================================================
2018-09-09Fix some dialyzer warningsEvgeny Khramtsov1-2/+1
2018-09-01Get stacktrace out of lager contextEvgeniy Khramtsov1-7/+14
Calling erlang:get_stacktrace() inside lager functions produces stacktraces of the logging function itself, not the function which has failed.
2018-08-13Fix typo in command descriptionBadlop1-1/+1
2018-08-07Allow acme and oauth commands to be read by gen_markdown_doc_for_commandsBadlop1-1/+2
2018-06-29Improve URLs validationEvgeniy Khramtsov1-3/+1
2018-06-14Get rid of ejabberd.hrl headerEvgeniy Khramtsov1-1/+0
The header consisted of too many unrelated stuff and macros misuse. Some stuff is moved into scram.hrl and type_compat.hrl. All macros have been replaced with the corresponding function calls. TODO: probably type_compat.hrl is not even needed anymore since we support only Erlang >= OTP 17.5
2018-01-31Fix compilation ordering in mix by s/-behavior/-behaviour/Paweł Chmielowski1-1/+1
2017-11-19Change file mode of ACME certficatesEvgeniy Khramtsov1-4/+10
2017-11-19Re-read ACME certificates on config reloadEvgeniy Khramtsov1-1/+3
2017-11-17Fix renew_certificates ejabberdctl commandEvgeniy Khramtsov1-3/+3
Thanks to Konstantinos Kallas
2017-11-17Don't forget to include intermediate ACME certificateEvgeniy Khramtsov1-3/+7
Thanks to Konstantinos Kallas
2017-11-17Fix ACME options validationEvgeniy Khramtsov1-2/+2
2017-11-17Improve ACME options validationEvgeniy Khramtsov1-11/+12
2017-11-17Move ejabberdctl ACME commands to other locationEvgeniy Khramtsov1-22/+73
2017-11-17Make ACME code working with ejabberd_pkixEvgeniy Khramtsov1-63/+67
2017-11-14Explain what is needed for the acme configuration and other small changesKonstantinos Kallas1-32/+47
1. Add a request handler in ejabberd_http and explain how to configure the http listener so that the challenges can be solved. 2. Make acme configuration optional by providing defaults in ejabberd_acme. 3. Save the CA that the account has been created in so that it creates a new account when connecting to a new CA. 4. Small spec change in acme configuration.
2017-09-06Solve Travis build xref problemKonstantinos Kallas1-5/+18
Travis build failed on xref because some functions that I used did not exist in OTP versions 17.5, 18.3 Those functions are: ets:take/2, lists:join/2, erlang:timestamp/0.
2017-08-25Remove some unused variable warnings, replace lists:join with string joinKonstantinos Kallas1-7/+6
2017-08-22Show SANs in list_CertificatesKonstantinos Kallas1-9/+37
2017-08-22Acquire certificates for all subdomains of a host and include them in SANKonstantinos Kallas1-10/+42
2017-08-22Remove partial RSA key supportKonstantinos Kallas1-20/+0
2017-08-22Add certfile when acquiredKonstantinos Kallas1-0/+1
2017-08-19Remove some debugging INFO_MSGsKonstantinos Kallas1-3/+0
2017-08-19Delete a development acme moduleKonstantinos Kallas1-1/+1
2017-08-19Cleanup some comments:Konstantinos Kallas1-5/+0
2017-08-19Add acme certificates for all configured hosts in ejabberd_pkixKonstantinos Kallas1-0/+21
2017-08-19Add behaviour ejabberd_config in ejabberd_acme in order to validate the configKonstantinos Kallas1-4/+36