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

Invalid certificate generate for wildcard

Open
#199 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

I am using openresty as container or docker. when certificate generate it shows invalid certificate or when run url it show warning. The error like unknown issuer, or verified by : not specified, could not verify this certificate because issuer is unknown, etc.

How can generate valid certificate.

I did added below command:
RUN openssl req -new -newkey rsa:2048 -days 3650 -nodes -x509 -subj '/CN=sni-support-required-for-valid-ssl' -keyout /etc/ssl/resty-auto-ssl-fallback.key -out /etc/ssl/resty-auto-ssl-fallback.crt

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the Docker/OpenResty setup and examining the fallback certificate command shown in the report. Compare the generated certificate's issuer and hostname coverage with the requested wildcard URL. Done means the reported URL presents a valid, verifiable certificate without the unknown-issuer warning.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.