Control Web Panel
WebPanel => SSL => Topic started by: gasonline on July 14, 2016, 11:07:04 AM
-
Hello,
First I edit httpd.conf and add Listen 443
After I installed Lestencrypt from module Apache>Letsencrypt Manager
After I Installed Letsencrypt for Account/Main Domain in one of my domains,...
All fine when I go to https://mydomain.tdl but I have a mistmacht issue when I go to my domain https://www.mydomain.tdl,...
browsers give me a warning related to mistmach error because www.mydomain.tdl don't have a valid certificate,...
I always redirect in my .htaccess my domains to www,...
Could you tell me some info about how generate certificate for www and non www domain?
Thanks.
Regards.
-
I think this maybe can be bug in command line in cwp and not generating for both www and non www domain.
You can try to generate custom letsencrypt install and add manually paths and see does this helps you (didn't tried myself cant tell you nothing for sure)
Answer is this bug or not can only confirm someone who is developing cwp, but yes tested mine too not working on www also.
-
seems there is now option for alias www... maybe I missed that at first install who knows :o
-
It was added to the latest version, 0.9.8.29. But the options are greyed out for me, I can not use them. Also the empty conf. message appears again.
-
seems it works fine no errors at all and its not greyed, did you try to remove all and reinstall?
which file is empty?
-
check if you have the latest version 0.9.8.29 and reinstall letsencrypt
http://wiki.centos-webpanel.com/letsencrypt-free-ssl-on-cwp
-
I checked and have the latest version 0.9.8.29
I removed and reinstall Letsencrypt, then Nginx don't start, I had this:
Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Then I used: killall -9 httpd
Ngnix restart and working but then Apache show me yellow warning and sites don't work,... and I get this error message:
(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
[FAILED]
Tried reboot several times the server, also manually
Then uninstall Letsencrypt and Nginx and install again nginx,... now Apache and Nginx working,... but all my sites give me error 500,... fix permissions but no luck,...
A nightmare,... luckily I do not have production sites.
Tomorrow I will try uninstall and reinstall some things to see if this work.
-
I have 0.9.8.29.
Uninstalled and reinstalled Letsencrypt with only apache on port 443. I can not edit any of the options in the dialogue box below. Nor can I tick the checkbox allowing the www alias.
-
Version 0.9.8.32 now.
Still same problem. After installation I get the "Initialized empty Git repository in /opt/cwp_letsencrypt/.git/" message.
And I can not use the form below to make the certificate, only press the certificate installation button without the ability to tick the check mark for the www alias.
-
Is there any Solution for this topic as it seems that either www or non-www can be install Letsencrypt. If solution please reply Admin.