Solved!!
In my Fedora 15 i added the line in the httpd.conf
LoadModule ssl_module modules/mod_ssl.so

After that I created an Self Signed Wildcard SSL Certificates for test my
vhosts if work it in ssl and work fine !
For create the Self Signed Wildcard SSL Certificates:
Open up your terminal and execute the below commands, replacing
yourdomain.com with the domain name
 
mkdir /etc/ssl/wildcard.yourdomain.com
cd /etc/ssl/wildcard.yourdomain.com/
openssl genrsa 2048 > host.key
openssl req -new -x509 -nodes -sha1 -days 3650 -key host.key > host.cert
 
For a wildcard cert enter *.yourdomain.com for Common Name. It’s the 6th
option in the dialog. All other options can be left blank for defaults
 
openssl x509 -noout -fingerprint -text < host.cert > host.info
cat host.cert host.key > host.pem
chmod 400 host.key host.pem

edit virtual hosts adding 3 lines:


SSLEngine On
SSLCertificateFile /etc/ssl/wildcard.yourdomain.com/host.pem
SSLCertificateKeyFile /etc/ssl/wildcard.yourdomain.com/host.key

And change the port in 443.

Thanks to all and I hope my feedback is helpful to others

-----Messaggio originale-----
Da: Ben Johnson [mailto:b...@indietorrent.org] 
Inviato: mercoledì 21 novembre 2012 18:22
A: users@httpd.apache.org
Oggetto: Re: [users@httpd] How to enable mod_ssl



On 11/21/2012 11:59 AM, Netmail wrote:
> Hi
> I want to configure my websites on ssl in my apache 2.2.22 and I read 
> many document but I don't understand many point:
> - in my httpd.conf there aren't the loadmodule mod_ssl and I go to 
> install the mod_ssl via yum install mod_ssl; restart httpd but the 
> line loadmodule mod_ssl there isn't in httpd.conf.. question 1: I have to
add the string?
> 
> Thanks for support.
> Andrea
> 

In many Linux distributions that provide software package management tools,
Apache modules are enabled and disabled using a binary executable file
(program), and not "by hand", e.g., editing a configuration file.
For example, in Debian/Ubuntu, the "a2enmod" and "a2dismod" utilities do the
job.

I assume that you're using RedHat, or some variant thereof, though, and the
procedure there differs. Others may feel free to correct me if I'm wrong,
but on RedHat, CentOS, etc., it is necessary to add a configuration file for
the given module in /etc/httpd/conf.d/. Apache scans all configuration files
in this directory on startup by default.

Have you searched the Internet at all on this subject? There are plenty of
useful resources out there...

-Ben


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to