Skip to content

Installing rpm/deb package fails to install CA trust #1846

@henderkes

Description

@henderkes

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions