Koozali.org: home of the SME Server

ibay ssl howto?

Guty

ibay ssl howto?
« on: June 23, 2004, 11:51:42 AM »
I´m triying to set up ssl certificates to an information bay. I´ve added lines manually to httpd.conf but i know  that those changes it is necessary to do them in templates but  not as to add the line of certificates i_bay...this is what I have added:

# Port: The port the standalone listens to. For ports < 1023, you will
# need httpd to be run as root initially.

Port 80
listen 8080
......

<VirtualHost 0.0.0.0:8080>
    ServerName www.domain.net
    ServerAlias domain.net  server3.domain.net
    DocumentRoot         /home/e-smith/files/ibays/domain_bay/html
    ScriptAlias /cgi-bin /home/e-smith/files/ibays/domain_bay/cgi-bin
    Alias       /files   /home/e-smith/files/ibays/domain_bay/files

    # SSL Directives
    SSLEngine on
    SSLCertificateFile /home/e-smith/ssl.crt/www.domain.net.crt
    SSLCertificateKeyFile /home/e-smith/ssl.key/www.domain.net.key


........

I want to add directly from templates-custom,what is in bold face, because when doing it
manually and i restart the server returns to its configuration by
default .
Thanks

Offline Boris

  • *
  • 783
  • +0/-0
ibay ssl howto?
« Reply #1 on: June 23, 2004, 07:51:14 PM »
From my understanding ssl certificates can be configured only per IP and instance of server running. That is one for primary domain on SME server. You can not create seperate certificates for ibays or virtual domains on the same IP.
...

Offline crazybob

  • *****
  • 894
  • +0/-0
    • Stalzer R&D
ibay ssl howto?
« Reply #2 on: June 24, 2004, 06:28:56 AM »
If you think you know whats going on, you obviously have no idea whats going on!

Guty

it works correctly
« Reply #3 on: June 24, 2004, 12:12:32 PM »
I have mitel sme server with two certificates working correctly...one ibay works like i wrote in my first post an the other whith default server certificate.. If i write https://www.mydomain.com:8080 it uses www.mydomain .com certificate but if i write https://www.mydomain1.com it uses www.domain1.com certificate. It is correctly but my problem is that i don´t know how to configure http in templates.I did it by hand in httpd.conf file...but when i restart my server it backs to default.. I need to know how to ad the path to the certificate to the virtualhost in templates.

Offline Boris

  • *
  • 783
  • +0/-0
ibay ssl howto?
« Reply #4 on: June 24, 2004, 08:55:19 PM »
Ok. If you use different ports it may work (and it does in your case).
Here is that you need to know about using templates for customizations. Its in the documentation section named "customizing"

http://no.longer.valid/phpwiki/index.php/Customizing
...

Guty

thanks
« Reply #5 on: June 25, 2004, 12:10:13 AM »
Thanks i´m going to prove it..

Lada

Richest Franchise in Sport
« Reply #6 on: July 03, 2004, 12:03:47 AM »
what kind of sport is this? i ve never heard about it and never seen it...
I like - football, tennis, http://findbusiness.freewebpage.org/ figure skating, extreme sports
Dislike - hockey, basketball, car racing, box and all the rest

cyberdude

ibay ssl howto?
« Reply #7 on: July 12, 2004, 10:39:46 PM »
guty ->
Hi!

Did you get a template to work ?

If so, coud you please share it ?

Guty

ibay ssl howto?
« Reply #8 on: July 13, 2004, 11:20:32 AM »
I'm trying to prove it but it doesn't work. I think that i can create a cronjob whos replace httpd.conf template file with my httpd.con handwrite file an restart the httpd server when i restart my server or the service.When it works i'll share it

Offline crazybob

  • *****
  • 894
  • +0/-0
    • Stalzer R&D
ibay ssl howto?
« Reply #9 on: September 23, 2005, 02:45:23 PM »
Guty,

I am looking into this also. Did you ever have any luck getting it to work?

Thanks

Bob
If you think you know whats going on, you obviously have no idea whats going on!