Gentoo Archives: gentoo-user

From: Matti Nykyri <matti.nykyri@×××.fi>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] Heartbleed fix - question re: replacing self-signed certs with real ones
Date: Wed, 16 Apr 2014 11:15:31
Message-Id: 1B52707A-ABAE-4FEF-98F2-BF64D48F7EB3@iki.fi
In Reply to: [gentoo-user] Heartbleed fix - question re: replacing self-signed certs with real ones by Tanstaafl
1 On Apr 16, 2014, at 13:52, Tanstaafl <tanstaafl@×××××××××××.org> wrote:
2
3 > Hi all,
4 >
5 > I've taken this opportunity to prod the boss to let me buy some real certs for our few self-hosted mail services. Until now, we've used self-signed certs.
6 >
7 > My question is, what exactly is the correct procedure for doing this?
8 >
9 > Also, do I still need to do the step I've been seeing:
10 >
11 > Step: 2
12 >
13 > Delete SSL key set
14 >
15 > Now, make out a list of websites that are equipped with SSL
16 > certificates.
17 > After that, delete all SSL keys, private and CSR key
18 > Finally, create a new private key and CSR key for each of your
19 > website. However, remember that your keys should be of 2048-bit key
20 > length.
21 >
22 > ?
23 Depends on your security model. RSA 2048-bit should be sufficient for most people. Although it is totally possible to create 16384-bit key. Just remember to use random data and a trust worthy keygenerator. They both have been know to be tampered by some agencies :)
24
25 >
26 > Or will simply replacing my self-signed certs with the new real ones be good enough?
27
28 No it will not. Keys are te ones that have been compromised. You need to create new keys. With those keys you need to create certificate request. Then you send that request to certificate authority for signing and publishing in their crl. When you receive the signed certificate you can start using it with your key. Never send your key to CA or expect to get a key from them.
29
30 There are also other algorithms the RSA. And also if you wan't to get PFS you will need to consider your setup, certificate and security model.
31
32 --
33 -Matti

Replies

Subject Author
Re: [gentoo-user] Heartbleed fix - question re: replacing self-signed certs with real ones Tanstaafl <tanstaafl@×××××××××××.org>