Génère ton self-signed cert.:
openssl genrsa -out /etc/apache2/ssl.key/apache.key 1024
openssl req -new -key /etc/apache2/ssl.key/apache.key  -out 
/etc/apache2/ssl.csr/apache.csr

Signes-le pour 10ans:
openssl x509 -req -days 3650 -in /etc/apache2/ssl.csr/apache.csr -signkey 
/etc/apache2/ssl.key/apache.key -out /etc/apache2/ssl.crt/apache.crt

Dans ta config de vhost, ajout les lignes:
        SSLEngine on
        SSLCertificateFile /etc/apache2/ssl.crt/apache.crt
        SSLCertificateKeyFile /etc/apache2/ssl.key/apache.key

Ca devrait passer

On Mon, 13 Dec 2004, Philippe JAOUEN wrote:

> Bonjour,
> 
> ça a été assez laborieux mais ça se termine
> 
> plantage du contrôleur scsi tekram (la solution existe mais n'est pas
> facile à trouver chez suse)
> 
> une bonne surprise SQL-Ledger (compta facturation stocks) utilisant
> Postgresql Apache2 et Latex fonctionne en UTF-8
> 
> de moins bonnes: Lyx n'accepte pas encore utf-8 mais ça marche comme
> avant; Htdig n'aime pas du tout utf8.
> 
> 
> 
> Mon problème principal : le mode SSL d'apache2
> 
> sylvie:/var/log/apache2 # rcapache2 start
> Starting httpd2 (prefork)                                             failed
> 
> La config a l'air bonne
> httpd2 -D SSL -S
> VirtualHost configuration:
> 192.168.100.3:443      192.168.100.3
> (/etc/apache2/vhosts.d/vhost-ssl.conf:28)
> Syntax OK
> 
> sylvie:/var/log/apache2 # cat error_log
> [Mon Dec 13 11:30:12 2004] [notice] suEXEC mechanism enabled (wrapper:
> /usr/sbin/suexec2)
> [Mon Dec 13 11:30:12 2004] [info] Init: Initializing OpenSSL library
> [Mon Dec 13 11:30:12 2004] [info] Init: Seeding PRNG with 136 bytes of
> entropy
> [Mon Dec 13 11:30:12 2004] [info] Loading certificate & private key of
> SSL-aware server
> [Mon Dec 13 11:30:12 2004] [error] Server should be SSL-aware but has no
> certificate configured [Hint: SSLCertificateFile]
> 
> le certificat est bon et à la place indiquée
> 
> les docs disponibles sont assez anciennes et concernent 9.1
> /usr/share/doc/packages/apache2/README.QUICKSTART.SSL
> http://www.ornl.gov/~jar/Apache/SSL_in_Apache_2.html
> 
> Est-ce que l'un d'entre vous a une 9.2 avec apache2 ssl qui tourne ?
> 
> 

_______________________________________________________
Linux Mailing List - http://www.unixtech.be
Subscribe/Unsubscribe: http://www.unixtech.be/mailman/listinfo/linux
Archives: http://www.mail-archive.com/linux@lists.unixtech.be
IRC: chat.unixtech.be:6667 - #unixtech

Répondre à