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-27, 08:15:16

Author Topic: SSL for a specific domain  (Read 5322 times)

0 Members and 1 Guest are viewing this topic.

Offline nmpribeiro

  • Valuable Member
  • *
  • Posts: 69
  • Karma: +1/-0
    • View Profile
SSL for a specific domain
« on: 2014-06-30, 13:34:59 »
Hi there,

I'm looking for a way to assign a specific ssl to a specific domain.
I am testing an app that seams to break if the domain is not the same as in the ssl. So.... I wonder if that's possible? I am going to edit /home/apache/conf/domain/specific.domain.conf to assign the certs to it in:

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

Diferent from those eth0___localhost.crt
It seams that each ssl is connected to a specific IP (ggrrrr) but mine are self signed, so it's not that important to me (for now at least)

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: SSL for a specific domain
« Reply #1 on: 2014-06-30, 13:59:06 »
In Kloxo-MR 6.5.0.f, specific ssl only possible if you have assign certain IP to this domain. It's that mean you must have more than 1 IP (1 for assign and 1 for shared IP).

In Kloxo-MR 6.5.0.b, it's possible ssl for domain with 1 shared IP.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline nmpribeiro

  • Valuable Member
  • *
  • Posts: 69
  • Karma: +1/-0
    • View Profile
Re: SSL for a specific domain
« Reply #2 on: 2014-06-30, 14:06:23 »
That's great. 6.5.0.b is beta or can it be used for production?

And in 6.5.0.f is it possible just to add the certificate to the system's list of trusted certificates? that would be enough I supose. I'm debuging owncloud (SSL is a mess with sabredav if you don't go the traditional 1 signed ssl for a specific IP route)

Offline nmpribeiro

  • Valuable Member
  • *
  • Posts: 69
  • Karma: +1/-0
    • View Profile
Re: SSL for a specific domain
« Reply #3 on: 2014-06-30, 15:00:46 »
Ok, I've updated.

Awesome!
Seams uploadprogress is not anymore in php55u... well... I can live with that!
« Last Edit: 2014-06-30, 16:36:34 by nmpribeiro »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: SSL for a specific domain
« Reply #4 on: 2014-06-30, 17:21:04 »
Php 5.5 still unstable compare to Php 5.3 or 5.4.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline nmpribeiro

  • Valuable Member
  • *
  • Posts: 69
  • Karma: +1/-0
    • View Profile
Re: SSL for a specific domain
« Reply #5 on: 2014-06-30, 17:24:32 »
yes... so I think I'll go back

yum replace php55u --replace-with=php54

Offline nmpribeiro

  • Valuable Member
  • *
  • Posts: 69
  • Karma: +1/-0
    • View Profile
Re: SSL for a specific domain
« Reply #6 on: 2014-06-30, 18:50:21 »
MR, just... can you help me install uploadprogress? I have no recolection on how I did it...

I have it in  /usr/lib64/php/modules/uploadprogress.so but I have no idea how to make it acecssible to php in kloxo-mr environment.

I've done it throught pecl, pecl install uploadprogress

Now how can I load it in httpd?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: SSL for a specific domain
« Reply #7 on: 2014-06-30, 19:00:25 »
For PhpXYm you can try copy /usr/lib64/php/modules/uploadprogress.so to /opt/usr/lib64/php/modules and their .ini (example: /etc/php.d/uploadprogress.ini) to /opt/etc/php.d.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline nmpribeiro

  • Valuable Member
  • *
  • Posts: 69
  • Karma: +1/-0
    • View Profile
Re: SSL for a specific domain
« Reply #8 on: 2014-06-30, 20:41:25 »
I don't have /opt/usr nor /opt/etc and even /opt/php54m is just a file, while /opt/php53s has etc/ var/ usr/ inside (chrooted I supose)

So... something's odd here

Offline nmpribeiro

  • Valuable Member
  • *
  • Posts: 69
  • Karma: +1/-0
    • View Profile
Re: SSL for a specific domain
« Reply #9 on: 2014-07-01, 07:55:22 »

 rm /opt/php54m

 sh ./php54m-installer

 sh /script/phpm-config-setup php54m

sh ./restart-web

cd /opt/php54m/
custom/      etc/         install.log  php54m       usr/         var/


Now, I've done as you asked (but /opt/php54m/etc instead of /opt/etc ) and uploadprogress.so is now loaded!

Thank you. Always learning.

Seams a better way to make code be placed in it's own place "/opt" and working chrooted. I guess now we can have those multiple php v working together

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.086 seconds with 18 queries.

web stats analysis