Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge 0.12->trunk | Kim Alvefur | 2024-08-30 | 1 | -1/+1 |
|\ | |||||
| * | util.prosodyctl.cert: Ensure old cert is moved out of the way | Kim Alvefur | 2024-08-30 | 1 | -1/+1 |
| | | | | | | | | This should make it visible if the move fails | ||||
* | | util: Prefix module imports with prosody namespace | Kim Alvefur | 2023-03-17 | 1 | -7/+7 |
| | | |||||
* | | util.prosodyctl.cert: Remove Lua 5.1 os.execute() return value compat | Kim Alvefur | 2022-10-20 | 1 | -1/+1 |
|/ | |||||
* | Spelling: Fix various spelling mistakes (thanks timeless) | Kim Alvefur | 2022-03-07 | 1 | -1/+1 |
| | | | | | | Words, sometimes I wonder how they even work Maybe I missed something. | ||||
* | util.prosodyctl.cert: Look for certs matching 'http_host' | Kim Alvefur | 2022-01-27 | 1 | -0/+4 |
| | | | | | This should ensure any certificate needed for HTTP services will also be included in the certificate import. | ||||
* | util.prosodyctl.cert: Look for certificates in a consistent order | Kim Alvefur | 2022-01-26 | 1 | -0/+9 |
| | | | | | | | | | Shortest first, then alphabetically, so that it prefers the base domain over subdomains. Fixes that it might otherwise pick a random sub-domain for filename on each run, cluttering the certs directory and potentially tricking Prosody into using an older certificate that might be about to expire. | ||||
* | util.prosodyctl.cert: Check success of copy operations, warn on fail | Kim Alvefur | 2022-01-19 | 1 | -4/+9 |
| | | | | | Debugging a case where certs are not imported correctly but prosodyctl still reports success. Hoping this will shed some light on it. | ||||
* | util.prosodyctl.cert: Pass variables via formatting instead of concatenation | Kim Alvefur | 2022-01-19 | 1 | -5/+5 |
| | | | | | Prevents potential weirdness in case there's any %s or such in a host, file or directory name, since show_warning() is printf(). | ||||
* | util.prosodyctl.cert: Fix boolean logic bug | Kim Alvefur | 2022-01-09 | 1 | -1/+1 |
| | | | | | | | Boolean logic, never correct on the first try. We want to skip copying the same cert if it _has_ been imported already, not if it has not. | ||||
* | util.prosodyctl.cert: Copy SAN/wildcard certs only once | Kim Alvefur | 2021-12-22 | 1 | -1/+5 |
| | |||||
* | prosodyctl cert: use the indexing functions for better UX | Jonas Schäfer | 2021-12-21 | 1 | -13/+15 |
| | | | | | | These provide (a) a way to deal with random assortments of certs and (b) avoid unnecessary error messages and warnings, according to #1669 anyway, which this fixes. | ||||
* | util.prosodyctl.cert: Fix for prompt functions having moved to util.human.io | Kim Alvefur | 2020-11-09 | 1 | -3/+4 |
| | |||||
* | prosodyctl+util.prosodyctl.*: Start breaking up the ever-growing prosodyctl | Matthew Wild | 2020-06-02 | 1 | -0/+293 |