mirror of
1
Fork 0
gotosocial/internal
Daenney d2f6de0185
[feature] Allow loading TLS certs from disk (#1586)
Currently, GtS only supports using the built-in LE client directly for
TLS. However, admins may still want to use GtS directly (so without a
reverse proxy) but with certificates provided through some other
mechanism. They may have some centralised way of provisioning these
things themselves, or simply prefer to use LE but with a different
challenge like DNS-01 which is not supported by autocert.

This adds support for loading a public/private keypair from disk instead
of using LE and reconfigures the server to use a TLS listener if we
succeed in doing so.

Additionally, being able to load TLS keypair from disk opens up the path
to using a custom CA for testing purposes avoinding the need for a
constellation of containers and something like Pebble or Step CA to
provide LE APIs.
2023-03-04 17:24:02 +00:00
..
ap [feature] Federate pinned posts (aka `featuredCollection`) in and out (#1560) 2023-03-01 17:52:44 +00:00
api [bugfix] Clamp admin report limit <1 to 100 (#1583) 2023-03-03 14:01:11 +01:00
cache [performance] cache media attachments (#1525) 2023-03-03 23:02:23 +00:00
config [feature] Allow loading TLS certs from disk (#1586) 2023-03-04 17:24:02 +00:00
db [performance] cache media attachments (#1525) 2023-03-03 23:02:23 +00:00
email [feature] Add a request ID and include it in logs (#1476) 2023-02-17 12:02:29 +01:00
federation [bugfix] on deref new account, check db again for account on ErrAlreadyExists (#1581) 2023-03-03 09:34:34 +01:00
gotosocial [performance] processing media and scheduled jobs improvements (#1482) 2023-02-13 18:40:48 +00:00
gtserror [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
gtsmodel [feature] Advertise rich text formats, support content_type field (#1370) 2023-03-02 12:06:40 +01:00
httpclient [chore] Move request validation earlier in client (#1531) 2023-02-19 11:01:15 +00:00
id [chore] reformat GetAccount() functionality, support updating accounts based on last_fetch (#1411) 2023-02-03 20:03:05 +00:00
iotools [bugfix] Parse video metadata more accurately; allow Range in fileserver (#1342) 2023-01-16 16:19:17 +01:00
log [feature] Add a request ID and include it in logs (#1476) 2023-02-17 12:02:29 +01:00
media [performance] cache media attachments (#1525) 2023-03-03 23:02:23 +00:00
messages [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
middleware [bug] Pass context in logging middleware (#1514) 2023-02-17 12:37:57 +01:00
netutil [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
oauth [chore] move client/federator workerpools to Workers{} (#1575) 2023-03-01 18:26:53 +00:00
oidc [feature] Add a request ID and include it in logs (#1476) 2023-02-17 12:02:29 +01:00
processing use updateattachment when updating to ensure cache is invalidated (#1587) 2023-03-04 14:53:21 +00:00
regexes [feature] Federate reports to remote instance as Flag (if desired) (#1386) 2023-01-27 14:48:11 +01:00
router [feature] Allow loading TLS certs from disk (#1586) 2023-03-04 17:24:02 +00:00
state [performance] processing media and scheduled jobs improvements (#1482) 2023-02-13 18:40:48 +00:00
storage [chore/performance] simplify storage driver to use storage.Storage directly (#1576) 2023-03-01 10:44:54 +01:00
stream [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
text [chore] move client/federator workerpools to Workers{} (#1575) 2023-03-01 18:26:53 +00:00
timeline [chore] move client/federator workerpools to Workers{} (#1575) 2023-03-01 18:26:53 +00:00
trans [feature] Advertise rich text formats, support content_type field (#1370) 2023-03-02 12:06:40 +01:00
transport [chore] transport improvements (#1524) 2023-02-18 17:02:19 +01:00
typeutils [bugfix] Federate status delete using just the URI (#1584) 2023-03-03 19:56:34 +00:00
uris [feature] Federate pinned posts (aka `featuredCollection`) in and out (#1560) 2023-03-01 17:52:44 +00:00
util [chore] Text formatting overhaul (#1406) 2023-02-03 11:58:58 +01:00
validate [feature] Advertise rich text formats, support content_type field (#1370) 2023-03-02 12:06:40 +01:00
visibility [chore] move client/federator workerpools to Workers{} (#1575) 2023-03-01 18:26:53 +00:00
web [feature] Federate pinned posts (aka `featuredCollection`) in and out (#1560) 2023-03-01 17:52:44 +00:00
workers [chore] move client/federator workerpools to Workers{} (#1575) 2023-03-01 18:26:53 +00:00