Project

General

Profile

Tâche #15966

Distribution EOLE - Scénario #16058: Traitement express (19-21)

Eole flask n'utilise pas les variables pour les certificats SSL

Added by Philippe Caseiro over 7 years ago. Updated over 7 years ago.

Status:
Fermé
Priority:
Haut
Assigned To:
Start date:
04/22/2016
Due date:
% Done:

100%

Estimated time:
1.00 h
Spent time:
Remaining (hours):
0.0

Description

Le template EOLE /usr/share/eole/creole/distrib/eoleflask.conf n'utilise pas les variables :
  • server_cert
  • server_key
  • server_pem

ce qui fait que si on dispose de certificats valides et qu'on les renseignent dans la confguration, ils ne sont pas utilisés par eole-flask.

diff --git a/tmpl/eoleflask.conf b/tmpl/eoleflask.conf
index b1bf83e..6b0d20d 100644
--- a/tmpl/eoleflask.conf
+++ b/tmpl/eoleflask.conf
@@ -9,8 +9,8 @@ server {
         root /usr/share/eole/flask;
         index index.html index.htm;

-        ssl_certificate /etc/ssl/certs/eole.crt;
-        ssl_certificate_key /etc/ssl/certs/eole.key;
+        ssl_certificate %%server_cert;
+        ssl_certificate_key %%server_key;

         # Fixes Genconfig Timeout on zephir diff (port 7000)
         proxy_connect_timeout       600;

Associated revisions

Revision 02da3a93 (diff)
Added by Joël Cuissinat over 7 years ago

Utilisation des variables pour les certificats SSL par eole-flask

Ref: #15966 @20m

History

#1 Updated by Scrum Master over 7 years ago

  • Tracker changed from Demande to Tâche
  • Parent task set to #16058
  • Remaining (hours) set to 1.0

#2 Updated by Joël Cuissinat over 7 years ago

à corriger pour 2.6

#3 Updated by Joël Cuissinat over 7 years ago

  • Status changed from Nouveau to En cours

#4 Updated by Joël Cuissinat over 7 years ago

  • Assigned To set to Joël Cuissinat

#5 Updated by Joël Cuissinat over 7 years ago

  • % Done changed from 0 to 100
  • Remaining (hours) changed from 1.0 to 0.15

#6 Updated by Scrum Master over 7 years ago

  • Status changed from En cours to Résolu

#7 Updated by Klaas TJEBBES over 7 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 0.15 to 0.0

Also available in: Atom PDF