Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started 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
-
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.
-
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
-
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.
-
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
-
Thanks i´m going to prove it..
-
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
-
guty ->
Hi!
Did you get a template to work ?
If so, coud you please share it ?
-
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
-
Guty,
I am looking into this also. Did you ever have any luck getting it to work?
Thanks
Bob