Centos 7: SSL is invalid and missing /.well-known/acme-challenge context in vHost

This error occurs when managing SSL/ssl For HostName

tail -f /home/cyberpanel/error-logs.txt

Websites matching query does not exist. [installSSLForDomain:72] http://panel1143.souqkshk.com/.well-known/acme-challenge/LckOeek6CV96n9XosG-IrrvEBR5ZiC-ChHerIRkhuY8: 404

The site is working fine but there is no certificate
Please Help

Welcome @tarek-kshk Happy you are here

Which server os are you running ?

Welcome josephgodwinke

Operating System
CentOS 7

Does a website for your panel domain exist ?

hi
http://panel1143.souqkshk.com/

http://keeshk.com/

Is this a new installation ?

The installations are not new

hi
Is there a solution to the problem؟؟

You can take these steps and see if it fixes your issue

Thank you it’s working now

hi
The repair was done in the following steps

1-

Do you have this context in your vHost conf? If not then add following configurations at the bottom of this configuration file

context /.well-known/acme-challenge {
  location                /usr/local/lsws/Example/html/.well-known/acme-challenge
  allowBrowse             1

  rewrite  {

  }
  addDefaultCharset       off

  phpIniOverride  {

  }
}

2-

thanks

Unfortunately this is specific to centos 7 which is no longer recommended for new installations.