Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-29, 03:29:34

Author Topic: SSL certificate bug after cleanup  (Read 2826 times)

0 Members and 1 Guest are viewing this topic.

Offline lenawaii

  • Valuable Member
  • *
  • Posts: 102
  • Karma: +0/-0
    • View Profile
SSL certificate bug after cleanup
« on: 2015-02-25, 09:42:13 »
Hi guys,

I recently added a new ssl certificate on Kloxo MR Panel 6.5.0.f and it worked fine. But After this command # sh /script/cleanup, the old ssl certificate that was deleted is still on and I can't not make the new one work on the server.

Do you know how to fix this?

Thank for your help.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: SSL certificate bug after cleanup
« Reply #1 on: 2015-02-25, 09:51:11 »
Delete your custom ssl file first and then create the new one.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline lenawaii

  • Valuable Member
  • *
  • Posts: 102
  • Karma: +0/-0
    • View Profile
Re: SSL certificate bug after cleanup
« Reply #2 on: 2015-02-25, 10:24:48 »
thanks for quick reply :)

still in trouble:

i deleted all certificates on my client xxx and added the new one, so only one ssl certificate is on the server.
- xxx is an exclusive client
- i defined one IP for this client

I managed to make the new certificate work with assigning domain to the IP but after that all domains included in the new ssl certificate are redirected to the domain assigned. Even if i disabled "configure domain" and Apache restart.

I'm kind of stuck now. Any idea?

Offline lenawaii

  • Valuable Member
  • *
  • Posts: 102
  • Karma: +0/-0
    • View Profile
Re: SSL certificate bug after cleanup
« Reply #3 on: 2015-02-25, 10:26:36 »
I forgot to precise that my ssl certificate is a multi-domain certificate (5 domains)

Offline lenawaii

  • Valuable Member
  • *
  • Posts: 102
  • Karma: +0/-0
    • View Profile
Re: SSL certificate bug after cleanup
« Reply #4 on: 2015-02-25, 10:42:43 »
well, I rebooted kloxo and after that, the old certificate is on, the one I don't want, really strange, i don't understand...

Offline lenawaii

  • Valuable Member
  • *
  • Posts: 102
  • Karma: +0/-0
    • View Profile
Re: SSL certificate bug after cleanup
« Reply #5 on: 2015-02-25, 15:58:08 »
I found the solution by myself, in fact there is a bug in Kloxo MR, when you update or cleanup Kloxo, all apache conf files are reedited by default so you have to take care of correcting path to ssl certificates :

ex : in file /home/apache/conf/domains/mydomain.com.conf

correct lines below:

<IfModule mod_ssl.c>
      SSLEngine On
      SSLCertificateFile /home/kloxo/httpd/ssl/venet0_0___localhost.crt
      SSLCertificateKeyFile /home/kloxo/httpd/ssl/venet0_0___localhost.key
      SSLCACertificatefile /home/kloxo/httpd/ssl/venet0_0___localhost.ca
</IfModule>

Once you correct path to certificates, it works fine.

There is the same bug when updating kloxo, I need to manually update the following files:
- /etc/php.ini
- /etc/httpd/conf.d/~lxcenter.conf
- /home/phpini/tpl/php.ini.tpl
- /etc/httpd/conf/httpd.conf

Well, it's not long to do it but it's really good to know it.

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix
Click Here

Page created in 0.04 seconds with 18 queries.

web stats analysis