auto-ssl / auto-ssl/lua-resty-auto-ssl

dehydrated failed

Open
#245 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Lua
Stars
2k
Forks
184
PR merge metrics
No merged PRs in 30d

Description

keep getting following error in my log

[error] 23#23: *2965914 [lua] ssl_certificate.lua:97: issue_cert(): auto-ssl: issuing new certificate failed: dehydrated failure, context: ssl_certificate_by_lua*, client: 10.128.0.116, server: 0.0.0.0:443
[error] 23#23: *2947479 [lua] lets_encrypt.lua:40: issue_cert(): auto-ssl: dehydrated failed: env HOOK_SECRET= ********* HOOK_SERVER_PORT=8999 /usr/local/openresty/luajit/bin/resty-auto-ssl/dehydrated --cron --accept-terms --no-lock --domain mydomain.com --challenge http-01 --config /etc/resty-auto-ssl/letsencrypt/config --hook /usr/local/openresty/luajit/bin/resty-auto-ssl/letsencrypt_hooks status: 256 out: # INFO: Using main config file /etc/resty-auto-ssl/letsencrypt/config

Due to this sometime server down.

![Screenshot 2020-11-23 at 4 07 37 PM](https://user-images.githubusercontent.com/30338831/99952740-25630700-2da6-11eb-9f2f-3d0c9c7285cf.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by examining the reported paths ssl_certificate.lua:97, lets_encrypt.lua:40, and the dehydrated command output using the configuration at /etc/resty-auto-ssl/letsencrypt/config. Reproduce the certificate issuance failure and identify why it can take the server down; done means the reported failure is understood and certificate issuance no longer causes that outage.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, nginx
Domain
security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.