Installation SSL auto-signé
Bonjour,
j'essaye d'installer un certificat SSL auto signé sur un serveur DEBIAN tournant avec APACHE2.
Dans mon fichier /etc/apache2/site-available/default-ssl,
je dispose en gros de cette configuration :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
| <IfModule mod_ssl.c>
<VirtualHost *:443>
ServerAdmin webmaster@localhost
DocumentRoot /home/sites/ubicentr1.51/www/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/ssl_access.log combined
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
................................ |
La liaison SSL se fait bien, j'arrive à accéder en HTTPS au site. Le seul problème, c'est que les fichiers en AMONT de /home/sites/ubicentr1.51/www/
à savoir les fichiers common/, ne sont pas accessible via HTTPS.
Comment dois-je configurer mon fichier pour prendre en compte tout ces fichiers ? J'ai essayé de changer DocumentRoot et Directory mais rien à faire, ça ne fonctionne pas.
Une idée ?
Merci d'avance ! 8-)