summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2010-December/001086.html
blob: f9600b4338c56468ef9968f91cdb5284634e1b77 (plain)
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-sysadm] [560] use ssl for mailling list interface, as password are involved ( a more selective approach should be used later )
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B560%5D%20use%20ssl%20for%20mailling%20list%20interface%2C%0A%20as%20password%20are%20involved%20%28%20a%20more%20selective%20approach%20should%20be%20used%0A%20later%20%29&In-Reply-To=%3C20101209123427.6FBB33FEBC%40valstar.mageia.org%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="001085.html">
   <LINK REL="Next"  HREF="001087.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-sysadm] [560] use ssl for mailling list interface, as password are involved ( a more selective approach should be used later )</H1>
    <B>root at mageia.org</B> 
    <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B560%5D%20use%20ssl%20for%20mailling%20list%20interface%2C%0A%20as%20password%20are%20involved%20%28%20a%20more%20selective%20approach%20should%20be%20used%0A%20later%20%29&In-Reply-To=%3C20101209123427.6FBB33FEBC%40valstar.mageia.org%3E"
       TITLE="[Mageia-sysadm] [560] use ssl for mailling list interface, as password are involved ( a more selective approach should be used later )">root at mageia.org
       </A><BR>
    <I>Thu Dec  9 13:34:27 CET 2010</I>
    <P><UL>
        <LI>Previous message: <A HREF="001085.html">[Mageia-sysadm] [559] deploy a testing list
</A></li>
        <LI>Next message: <A HREF="001087.html">[Mageia-sysadm] [561] - use the lib_dir fact
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#1086">[ date ]</a>
              <a href="thread.html#1086">[ thread ]</a>
              <a href="subject.html#1086">[ subject ]</a>
              <a href="author.html#1086">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Revision: 560
Author:   misc
Date:     2010-12-09 13:34:27 +0100 (Thu, 09 Dec 2010)
Log Message:
-----------
use ssl for mailling list interface, as password are involved ( a more selective approach should be used later )

Modified Paths:
--------------
    puppet/modules/sympa/manifests/init.pp
    puppet/modules/sympa/templates/vhost_ml.conf

Modified: puppet/modules/sympa/manifests/init.pp
===================================================================
--- puppet/modules/sympa/manifests/init.pp	2010-12-09 12:34:25 UTC (rev 559)
+++ puppet/modules/sympa/manifests/init.pp	2010-12-09 12:34:27 UTC (rev 560)
@@ -46,13 +46,20 @@
     
         include apache::mod_fcgid
         apache::webapp_other{&quot;sympa&quot;:
-    	webapp_file =&gt; &quot;sympa/webapp_sympa.conf&quot;,
+             webapp_file =&gt; &quot;sympa/webapp_sympa.conf&quot;,
         }
-    
+   
+        apache::vhost_redirect_ssl { &quot;ml.$domain&quot;: }
+ 
         apache::vhost_other_app { &quot;ml.$domain&quot;:
             vhost_file =&gt; &quot;sympa/vhost_ml.conf&quot;,
         }
+
+        openssl::self_signed_cert{ &quot;ml.$domain&quot;:
+            directory =&gt; &quot;/etc/ssl/apache/&quot;
+        }
     
+
         @@postgresql::database { 'sympa':
             description =&gt; &quot;Sympa database&quot;,
             user =&gt; &quot;sympa&quot;,

Modified: puppet/modules/sympa/templates/vhost_ml.conf
===================================================================
--- puppet/modules/sympa/templates/vhost_ml.conf	2010-12-09 12:34:25 UTC (rev 559)
+++ puppet/modules/sympa/templates/vhost_ml.conf	2010-12-09 12:34:27 UTC (rev 560)
@@ -1,5 +1,8 @@
-&lt;VirtualHost *:80&gt;
+&lt;VirtualHost *:443&gt;
 	ServerName ml.&lt;%= domain %&gt;
+    SSLEngine on
+    SSLCertificateFile /etc/ssl/apache/ml.&lt;%= domain %&gt;.pem
+    SSLCertificateKeyFile /etc/ssl/apache/ml.&lt;%= domain %&gt;.pem
 &lt;%-
 path_cgi_directory = lib_dir + &quot;/sympa/cgi&quot;
 -%&gt;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: &lt;/pipermail/mageia-sysadm/attachments/20101209/fd21eede/attachment-0001.html&gt;
</PRE>









<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="001085.html">[Mageia-sysadm] [559] deploy a testing list
</A></li>
	<LI>Next message: <A HREF="001087.html">[Mageia-sysadm] [561] - use the lib_dir fact
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#1086">[ date ]</a>
              <a href="thread.html#1086">[ thread ]</a>
              <a href="subject.html#1086">[ subject ]</a>
              <a href="author.html#1086">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm
mailing list</a><br>
</body></html>