Fresh install on minimal centos 7 i add the website and when i try to issue an ssl i get this error in cyberpanel log file:
[10-20-49-Sun-Jul-2019] [Errno 2] No such file or directory [Failed to obtain SSL. [obtainSSLForADomain]]
The website is already created and dns is working.
When i try to issue it says this:
Cannot issue SSL. Error message: 0,283 Failed to obtain SSL for domain. [issueSSLForDomain]
But then the cyberpanel log file says this:
[10-20-49-Sun-Jul-2019] [Errno 2] No such file or directory [Failed to obtain SSL. [obtainSSLForADomain]]
is there anything i can do about it?
Apparently certbot not installed. How can certbot be not installed on a clean install? Would it work if i did manual certbot install?
certbot is not needed anymore, acme.sh is used for quite long now.
When you try to issue SSL can you try
journalctl -f | grep lscpd
and journalctl -f | grep acme
Try both, and let me now if you get any output.
journalctl -f | grep lscpd
Responds with:
server.*******.com sudo[16117]: root : TTY=unknown ; PWD =/tmp/lscpd ; USER=root ; COMMAND=/bin/python /usr/local/CyberCP/plogical/virtua lHostUtilities.py issueSSL --virtualHostName ******.com --administratorEmai l *@gmail.com --path /home/.com/public_html
journalctl -f | grep acme doesnt respond anything.
I wish you guys be online at Discord like you used to
@Aelfric
Do you have by change any force https redirection active or your application configured to use https.
This prevents Lets Encrypt verification.
Discord is not good in a sense that solutions provided does not help rest of the community later, people can search solutions to their problems through here.
I don’t think i have any force https enabled because i haven’t changed any settings at all, it’s a clean full cyberpanel install i have not modified anything myself.
I understand discord is not good for archiving answers but in these cases it is kinda weird that it does not work in a out of box install. I don’t remember anything going wrong in installation as well.
The log just says No such file or directory. Maybe Acme.sh not installed or work properly?
To others, ihave fixed this one with below code:
wget -O - https://get.acme.sh | sh
@Aelfric
Thanks for letting us know, which means somehow acme.sh didn’t install on your server.