Incorrect Auto install ssl Cert on a shared ip

Started by stewartrose, December 07, 2018, 08:23:30 AM

Previous topic - Next topic

stewartrose

Good Morning Team,

   After using the Autofiill apapche/ssl the sslcert is failing because the domain used is not correct
   it is using domain.com not www.domain.com
 
   When you run the https://www.sslshopper.com/ssl-checker.html on domain.com it shows it is perfect
   but I need it to be www.domain.com

  CWP version: 0.9.8.573

Any ideas please.....

All the best from Alan

stewartrose

Just to add  more info I think tis is a bug of CWP or me creating the account wrong

Apache/SSL/Info

Information about your Certificate
SUBJECT: domain.net
ALIASES: domain.net
VALID FROM: 06 Dec 2018 18:22:19 UTC
VALID UNTIL: 06 Mar 2019 18:22:19 UTC
SIGNATURE: sha256WithRSAEncryption
PUBLIC KEY: 2048bits
ISSUER: C=US; O=Let's Encrypt; CN=Let's Encrypt Authority X3;

Notce Aliases is domain.net NOT www.domain.net as it should be.

All the best from Alan

madmax

From the newest version iv not had this issue at all however like said check the ssl information and make sure the aliases issued correct as mine have everytime i have used it but im also on version 0.9.8.746 id recommend upgrading ;)

stewartrose

Sorry to ask dum question, how do you do an update on cwp please

All the best from Alan


stewartrose

Hi GTMAN

Thank you, I ran the command and got this

[root@typhoon ~]# sh /usr/local/cwpsrv/htdocs/resources/scripts/update_cwp


====================================================
============= CentOS Web Panel Cron ================
====================================================


###########################
Firewall Flush Daily Blocks
###########################


######################
Update Server Packages
######################
[07-Dec-2018 19:34:40] NOTICE: configuration file /usr/local/cwp/php71/etc/php-fpm.conf test is successful

[07-Dec-2018 19:34:41] NOTICE: configuration file /usr/local/cwp/php71/etc/php-fpm.conf test is successful


But the version number did not update....

All the best from Alan

stewartrose

New Info,

  The reason it is not working, is that there is only one entry for that domain in vhosts-ssl.conf

   Now I have hit the rate limit which this company controls https://letsencrypt.org/docs/rate-limits/

Pity there is not this info in the autossl section....

All the best fom Alan

fayazkhan

hi

i hope you are good. i have install a certificate of my one account which is email2.weatherlycloud.com ssl  from autossl. but when i  go to on open a roundcube its show ssl error and redirect son my hostname ssl certificate instead of my account certificate (email2.weatherlycloud.com  .can any body help me on this .

https://email2.weatherlycloud.com:2096  i need to install my certificate on this. looking forward your quick response.

studio4host

cwp ports are using hostname ssl so you would need to make a custom proxy on you main webserver to handle ssl like that

example with nginx or apache proxy
https://webmail.email2.weatherlycloud.com ->  email2.weatherlycloud.com:2095
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

stewartrose

Quote from: stewartrose on December 08, 2018, 01:25:53 PM
New Info,

  The reason it is not working, is that there is only one entry for that domain in vhosts-ssl.conf

   Now I have hit the rate limit which this company controls https://letsencrypt.org/docs/rate-limits/

Pity there is not this info in the autossl section....

All the best fom Alan

vhosts-ssl.conf requires two entries per domain, before autossl will work in CWP, now the ban has been lifted on letsencrypt, autossl worked fine... I am now working...