summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2012-February/004218.html
blob: be21239a79d905c005e188cf72b5751d226a360e (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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-sysadm] ldap server certificate (was: Re:	[Mageia-discuss] Fosdem report)
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20ldap%20server%20certificate%20%28was%3A%20Re%3A%0A%09%5BMageia-discuss%5D%20Fosdem%20report%29&In-Reply-To=%3C201202151812.11280.bgmilne%40zarb.org%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="004215.html">
   <LINK REL="Next"  HREF="004213.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-sysadm] ldap server certificate (was: Re:	[Mageia-discuss] Fosdem report)</H1>
    <B>Buchan Milne</B> 
    <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20ldap%20server%20certificate%20%28was%3A%20Re%3A%0A%09%5BMageia-discuss%5D%20Fosdem%20report%29&In-Reply-To=%3C201202151812.11280.bgmilne%40zarb.org%3E"
       TITLE="[Mageia-sysadm] ldap server certificate (was: Re:	[Mageia-discuss] Fosdem report)">bgmilne at zarb.org
       </A><BR>
    <I>Wed Feb 15 17:12:10 CET 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="004215.html">[Mageia-sysadm] ldap server certificate (was: Re: [Mageia-discuss] Fosdem report)
</A></li>
        <LI>Next message: <A HREF="004213.html">[Mageia-sysadm] ldap server certificate (was: Re:	[Mageia-discuss] Fosdem report)
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#4218">[ date ]</a>
              <a href="thread.html#4218">[ thread ]</a>
              <a href="subject.html#4218">[ subject ]</a>
              <a href="author.html#4218">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On Wednesday, 15 February 2012 11:32:35 Michael Scherer wrote:
&gt;<i> Le mardi 14 f&#233;vrier 2012 &#224; 17:54 +0100, Romain d'Alverny a &#233;crit :
</I>&gt;<i> &gt; On Tue, Feb 14, 2012 at 17:35, Michael Scherer &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">misc at zarb.org</A>&gt; wrote:
</I>&gt;<i> &gt; &gt;&gt; It looks like we are still using a self-signed certificate on the ldap
</I>&gt;<i> &gt; &gt;&gt; server. So it's required to have &quot;TLS_REQCERT allow&quot; in
</I>&gt;<i> &gt; &gt;&gt; /etc/openldap/ldap.conf to be able to connect to the ldap server.
</I>&gt;<i> &gt; &gt;&gt; 
</I>&gt;<i> &gt; &gt;&gt; Should we also use the *.mageia.org certificate on the ldap server ?
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; Wouldn't that make sense?
</I>&gt;<i> 
</I>&gt;<i> I fear that some tools would requires CA in a slightly different format
</I>&gt;<i> ( like key in one file, signature in another one ).
</I>
Key and cert should ideally be separate.

&gt;<i> For example, postgresql seems to need this ( since I had to write a
</I>&gt;<i> special class for this, see rev 530 and 531 on adm svn.
</I>&gt;<i> This can surely be worked around, but I am not sure if this would
</I>&gt;<i> preserve the certificate signature
</I>
It should.

&gt;<i> ( I am rather bad when it come to
</I>&gt;<i> certificate, each time, I think I understood openssl, and in fact, i
</I>&gt;<i> didn't )
</I>
openssl x509 -out server.crt -in combined.pem
openssl rsa -out server.key -in combined.pem
?
 
&gt;<i> &gt; &gt;&gt; Or have our own CA with keys distributed by rpm packages in the
</I>&gt;<i> &gt; &gt;&gt; distribution ?
</I>&gt;<i> &gt; &gt; 
</I>&gt;<i> &gt; &gt; I would say &quot;our own CA, but that's such a PITA :/
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; Why?
</I>&gt;<i> 
</I>&gt;<i> Because openssl is weird :p
</I>
That's not the PITA. Handling CSRs, signatures etc. is. But, it is a problem 
worth solving, as we really should have a solution for this. We have been 
using OpenCA at work for this, with some semi-automated enrolment with 
autosscep (and SCEP on Cisco routers, Cisco VPN client etc.).

Regards,
Buchan
</PRE>

<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="004215.html">[Mageia-sysadm] ldap server certificate (was: Re: [Mageia-discuss] Fosdem report)
</A></li>
	<LI>Next message: <A HREF="004213.html">[Mageia-sysadm] ldap server certificate (was: Re:	[Mageia-discuss] Fosdem report)
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#4218">[ date ]</a>
              <a href="thread.html#4218">[ thread ]</a>
              <a href="subject.html#4218">[ subject ]</a>
              <a href="author.html#4218">[ 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>