mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-04-25 16:55:56 +03:00
[GH-ISSUE #601] 希望证书签发可以多域名单证书 #7421
Labels
No labels
Q/A
bug
casdoor
dependencies
docker
documentation
duplicate
enhancement
help wanted
invalid
lego
platform:openwrt
platform:windows
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-ui#7421
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ERSTT on GitHub (Oct 9, 2024).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/601
最近遇到了abc.com abc.cn需要指向同一个服务
目前在UI里签发只能签 *.abc.tld abc.tld
不能签 *.a.abc.tld *.abc.tld abc.tld的单证书
也不能签 *.abc.tld abc.tld *.123.tld 123.tld的单证书
现在在UI下只能多域名签发多个证书 然后写不同的server来达到多域名指向单一服务的需求
另外希望在"站点列表"里添加一个跟"管理 Stream"界面 一样的“添加”按钮
如果想用"高级模式"新增站点 每次添加站点都要先填必填项目 然后才能去修改里填写
或者添加站点里添加"高级模式"
@0xJacky commented on GitHub (Oct 9, 2024):
abc.com abc.cn 这个情况,现在是支持的
只要 server_name 是这样设置的,打开 let's encrypted 自动证书,就会获取到这样的证书
@ERSTT commented on GitHub (Oct 9, 2024):
试了下,在站点列表那里开证书的话,如果 server_name 有*.abc.com *.abc.cn abc.com abc.cn 确实可以都签发,但是停用这个站点就会停用续签,其他站点也无法使用此证书了。
除非让其他站点也重复去签发,感觉这样的话,站点一多在快过期的时候很大概率撞到letsencrypt的速率限制
如果用证书里的签发泛域名,就又得写两份server
感觉最好的解决方式还是在签发泛域名界面允许填写多个域名
目前版本潜在的解决方式可能是
创建一个站点 监听一个无用端口
server_name填写要自动续签的域名 然后让他运行
@0xJacky commented on GitHub (Oct 9, 2024):
如果你有超出 300 个域名,也可以创建多个账户来进行申请,理论上每三小时可以申请 3000 个证书,这个配额足够了吧?
关于这项功能的 pr: https://github.com/0xJacky/nginx-ui/pull/361
@0xJacky commented on GitHub (Oct 9, 2024):
你可以创建多张 Wildcard 证书,然后对于 *.abc.tld abc.tld *.123.tld 123.tld 这种需求,可以在同一个 Server 里绑定多张证书,就可以实现你的需求。