Author Topic: SSL Letsencrypt domain www and no www  (Read 16423 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
SSL Letsencrypt domain www and no www
« 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.

Offline
**
Re: SSL Letsencrypt domain www and no www
« Reply #1 on: July 14, 2016, 12:47:27 PM »
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.

Offline
**
Re: SSL Letsencrypt domain www and no www
« Reply #2 on: July 19, 2016, 04:12:00 PM »
seems there is now option for alias www... maybe I missed that at first install who knows  :o

Offline
*
Re: SSL Letsencrypt domain www and no www
« Reply #3 on: July 19, 2016, 06:45:14 PM »
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.

Offline
**
Re: SSL Letsencrypt domain www and no www
« Reply #4 on: July 19, 2016, 07:03:56 PM »
seems it works fine no errors at all and its not greyed, did you try to remove all and reinstall?
which file is empty?
« Last Edit: July 19, 2016, 07:12:50 PM by zakrpa »

Offline
*
Re: SSL Letsencrypt domain www and no www
« Reply #5 on: July 19, 2016, 08:15:18 PM »
check if you have the latest version 0.9.8.29 and reinstall letsencrypt

http://wiki.centos-webpanel.com/letsencrypt-free-ssl-on-cwp
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: SSL Letsencrypt domain www and no www
« Reply #6 on: July 19, 2016, 08:40:00 PM »
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.




Offline
*
Re: SSL Letsencrypt domain www and no www
« Reply #7 on: July 20, 2016, 03:01:56 AM »
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.

Offline
*
Re: SSL Letsencrypt domain www and no www
« Reply #8 on: July 21, 2016, 04:33:29 AM »
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.

Offline
*
Re: SSL Letsencrypt domain www and no www
« Reply #9 on: December 05, 2016, 06:16:43 PM »
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.