Control Web Panel

WebPanel => Apache => Topic started by: nuffsaid on April 07, 2017, 06:29:50 AM

Title: cwp-ssl.conf does not exist
Post by: nuffsaid on April 07, 2017, 06:29:50 AM
Hi

I installed the Let's encrypt cert for my hostname and it installed successfully as per the http://wiki.centos-webpanel.com/hostname-ssl-with-letsencrypt tutorial

When i get to the 3rd step , the file with path /usr/local/cwpsrv/conf.d/cwp-ssl.conf does not exist .

After searching someone says changing the hostname will fix it but it didnt work and the error i get will be

Code: [Select]
AutoSSL:


Notice: Undefined variable: row in /usr/local/cwpsrv/htdocs/resources/admin/modules/change_hostname.php on line 0
AutoSSL: Issue Failed!sh: /root/.acme.sh/acme.sh: No such file or directory

Notice: Undefined variable: row in /usr/local/cwpsrv/htdocs/resources/admin/modules/change_hostname.php on line 0

Notice: Undefined variable: row in /usr/local/cwpsrv/htdocs/resources/admin/modules/change_hostname.php on line 0
You may also need to change hostname in the /etc/hosts
Example: 127.0.0.1 www.example.com localhost localhost.localdomain
New SSL was generated and you will need to restart: postfix, dovecot, cwpsrv
Don't forget to rebuild the mail server with the new Hostname and restart CWP!!!

How can i fix this to get the SSL working in port 2031 ?
Title: Re: cwp-ssl.conf does not exist
Post by: Administrator on April 07, 2017, 01:26:59 PM
contact us and include login details so we can check it
http://centos-webpanel.com/contact
Title: Re: cwp-ssl.conf does not exist
Post by: nuffsaid on April 08, 2017, 06:29:18 AM
Hi

I have submitted the request