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

Error: "No Such File or Directory" While Installing Certs #2602

Merged
merged 2 commits into from
Nov 16, 2024

Conversation

Azoo224
Copy link
Contributor

@Azoo224 Azoo224 commented Nov 16, 2024

Hello, I found an issue with the "update - CF SSL Certificate" feature in the 3x-ui v2.4.7 update. During script execution, the following error occurs:
"[INF] Certificate issued successfully, Installing...
[Sat Nov 16 01:54:41 AM PST 2024] The domain 'example.com' seems to already have an ECC cert, let's use it.
[Sat Nov 16 01:54:41 AM PST 2024] Installing cert to: /root/cert-CF/example.com/fullchain.pem
/root/.acme.sh/acme.sh: line 5925: /root/cert-CF/example.com/fullchain.pem: No such file or directory
[ERR] Certificate installation failed, script exiting...
".

Later, I discovered that the directory "${certPath}/${CF_Domain}" must exist before installing the certificate; otherwise, acme will throw such error. Therefore, I am submitting this PR and hope you can review it as soon as possible.

@Azoo224 Azoo224 changed the title "No such file or directory" While Installing Certs "No such file or directory" error While Installing Certs Nov 16, 2024
@Azoo224 Azoo224 changed the title "No such file or directory" error While Installing Certs Error: "No Such File or Directory" While Installing Certs Nov 16, 2024
@MHSanaei MHSanaei merged commit 0a8bfc2 into MHSanaei:main Nov 16, 2024
@MHSanaei
Copy link
Owner

Thank you

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

Successfully merging this pull request may close these issues.

2 participants