Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

caddy trust using wrong path? #4759

Closed
AvverbioPronome opened this issue May 3, 2022 · 2 comments
Closed

caddy trust using wrong path? #4759

AvverbioPronome opened this issue May 3, 2022 · 2 comments
Labels
duplicate 🖇️ This issue or pull request already exists

Comments

@AvverbioPronome
Copy link

root@Quake:/etc/caddy# caddy trust
trust: requesting CA info: caddy responded with error: HTTP 404: {"error":"resource not found: /pki/local/certificates"}

root@Quake:/etc/caddy# curl -i http://localhost:2019/pki/ca/local/certificates
HTTP/1.1 200 OK
Content-Type: application/pem-certificate-chain
Date: Tue, 03 May 2022 10:31:23 GMT
Content-Length: 1307

-----BEGIN CERTIFICATE-----
MIIBxzCCAW2gAwIBAgIQUXrbdLvBVraOJK4IbejgEDAKBggqhkjOPQQDAjAwMS4w
...
f6AhQu6m1/94J8+34K48HRwKbaA3qoWa+wRi
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
MIIBpDCCAUqgAwIBAgIRAMRVzeLw5cO2jxcSUYYlHFswCgYIKoZIzj0EAwIwMDEu
...
faTTY4QCIQDjH7KSkJ/R3OpKW9GBOdF8bkL5rczAwa3iP2yx05kEtw==
-----END CERTIFICATE-----
root@Quake:/etc/caddy# caddy version
v2.5.0 h1:eRHzZ4l3X6Ag3kUt8nj5IxATprhqKq/wToP7OHlXWA0=

On Ubuntu 22.04, installed via apt and run via systemd.

@mohammed90
Copy link
Member

This was fixed in #4730. Please build from master if you need an immediate fix.

@AvverbioPronome
Copy link
Author

This was fixed in #4730. Please build from master if you need an immediate fix.

Nah, I'll wait for the apt release.

Thank you.

@mholt mholt added the duplicate 🖇️ This issue or pull request already exists label May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate 🖇️ This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants