Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
|
tips_informatiques:linux:soft:apache2:apache2 [2010/08/27 14:30] nico |
tips_informatiques:linux:soft:apache2:apache2 [2012/02/23 22:50] (Version actuelle) |
||
|---|---|---|---|
| Ligne 30: | Ligne 30: | ||
| <code bash> | <code bash> | ||
| openssl req -new -key alaxos.com.key -x509 -out sslname.crt | openssl req -new -key alaxos.com.key -x509 -out sslname.crt | ||
| + | </code> | ||
| + | |||
| + | Ou encore | ||
| + | <code bash> | ||
| + | umask 077 && touch alaxos.key alaxos.cert alaxos.info alaxos.pem | ||
| + | openssl genrsa 2048 > alaxos.key | ||
| + | openssl req -new -x509 -nodes -sha1 -days 3650 -key alaxos.key > alaxos.cert | ||
| + | openssl x509 -noout -fingerprint -text < alaxos.cert > alaxos.info | ||
| + | cat alaxos.cert alaxos.key > alaxos.pem | ||
| + | chmod 400 alaxos.key alaxos.pem | ||
| </code> | </code> | ||
| Ligne 238: | Ligne 248: | ||
| __Solution__: | __Solution__: | ||
| + | |||
| + | <code> | ||
| <IfModule mod_rewrite.c> | <IfModule mod_rewrite.c> | ||
| Ligne 248: | Ligne 260: | ||
| </IfModule> | </IfModule> | ||
| + | </code> | ||