Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Guty on June 23, 2004, 11:51:42 AM

Title: ibay ssl howto?
Post by: Guty 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
Title: ibay ssl howto?
Post by: Boris 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.
Title: ibay ssl howto?
Post by: crazybob on June 24, 2004, 06:28:56 AM
Just a few posts down I found this reference

http://www.ibiblio.org/pub/Linux/distributions/smeserver/contribs/dungog/help/SMEhelp/Web%20server%20SSL%20Certificate.html

Bob
Title: it works correctly
Post by: Guty 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.
Title: ibay ssl howto?
Post by: Boris 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
Title: thanks
Post by: Guty on June 25, 2004, 12:10:13 AM
Thanks i´m going to prove it..
Title: Richest Franchise in Sport
Post by: Lada 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
Title: ibay ssl howto?
Post by: cyberdude on July 12, 2004, 10:39:46 PM
guty ->
Hi!

Did you get a template to work ?

If so, coud you please share it ?
Title: ibay ssl howto?
Post by: Guty 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
Title: ibay ssl howto?
Post by: crazybob 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