Installing rpm/deb package fails to install CA trust

What happened?

It seems caddy has changed this to use the admin API, rather than going through the filesystem. So running frankenphp trust fails with an error that localhost:2019 refused connection.

I'm not sure what the best way to work around this is. We could start the server before in theory, but that would lead to installation failure if anything already listens to :80, :443 or :2019.

@mholt ?

Build Type

Custom (tell us more in the description)

Worker Mode

No

Operating System

GNU/Linux

CPU Architecture

x86_64

PHP configuration

Relevant log output

Error: requesting CA info: performing request: Get "http://localhost:2019/pki/ca/local": dial tcp 127.0.0.1:2019: connect: connection refused