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

same cert for different domains and webroots #5145

Open
rodajc opened this issue May 9, 2024 · 3 comments
Open

same cert for different domains and webroots #5145

rodajc opened this issue May 9, 2024 · 3 comments

Comments

@rodajc
Copy link

rodajc commented May 9, 2024

So far I have used standalone mode which generated one cert for six different domains and three different webroots. Worked fine.

Now I discovered webroot mode. Advantage: no need to stop the lighttpd web server.
Is there a problem with using the same cert for different domains?
The mail server receives mail for all six different domains and can only handle one cert.

How can I generate one cert for different domains in webroot mode?
I can only find examples of certs for multiple (sub)domains with different webroots.

Copy link

github-actions bot commented May 9, 2024

Please upgrade to the latest code and try again first. Maybe it's already fixed. acme.sh --upgrade If it's still not working, please provide the log with --debug 2, otherwise, nobody can help you.

@rodajc
Copy link
Author

rodajc commented May 9, 2024

My issue is a question rather than a bug.

@rodajc
Copy link
Author

rodajc commented May 9, 2024

And why does acme.sh remove a link (/root/web/domain1/.well-known/acme-challenge) it needs and complains that it isn't there?

[Thu May  9 22:35:54 CEST 2024] domain1 is already verified, skip http-01.
[Thu May  9 22:35:54 CEST 2024] domain2 is already verified, skip http-01.
[Thu May  9 22:35:55 CEST 2024] Verifying: domain3
mkdir: can't create directory '/root/web/domain1/.well-known/acme-challenge': No such file or directory
/etc/acme/acme.sh: line 4941: can't create /root/web/domain1/.well-known/acme-challenge/aFJMMzSMkDU1pI4Pb1gRNnn_b-7PpA9UFjnVgCKOp6w: nonexistent directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant