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

提示证书不安全的问题 #20

Open
expoli opened this issue Jul 12, 2021 · 0 comments
Open

提示证书不安全的问题 #20

expoli opened this issue Jul 12, 2021 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@expoli
Copy link
Owner

expoli commented Jul 12, 2021

  • 报错信息
traefik    | time="2021-07-12T09:22:48Z" level=info msg="Configuration loaded from flags."
traefik    | time="2021-07-12T09:22:48Z" level=error msg="The ACME resolver \"myresolver\" is skipped from the resolvers list because: unable to get ACME account: permissions 755 for /letsencrypt/acme.json are too open, please use 600"
traefik    | time="2021-07-12T09:22:48Z" level=error msg="HTTP challenge is not enabled" entryPointName=web routerName=acme-http@internal
traefik    | time="2021-07-12T09:22:48Z" level=error msg="HTTP challenge is not enabled" routerName=acme-http@internal entryPointName=web
db_1       | 2021-07-12  9:22:48 0 [Note] InnoDB: Buffer pool(s) load completed at 210712  9:22:48
traefik    | time="2021-07-12T09:22:50Z" level=error msg="HTTP challenge is not enabled" entryPointName=web routerName=acme-http@internal
bolo       | [INFO 07-12 17:22:50 ari.HikariDataSource 110] HikariPool-1 - Starting...
traefik    | time="2021-07-12T09:22:50Z" level=error msg="the router bolo@docker uses a non-existent resolver: myresolver"
  • 应该是最新的traefik镜像问题的权限检查问题,或者挂载目录的权限不合适问题

解决方案

docker exec -it traefik chmod 600 /letsencrypt/acme.json
@expoli expoli added the documentation Improvements or additions to documentation label Jul 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant