Project

General

Profile

CACert » History » Version 1

Raphaël Durand, 08/06/2013 04:59 PM

1 1 Raphaël Durand
h1. CACert
2 1 Raphaël Durand
3 1 Raphaël Durand
4 1 Raphaël Durand
5 1 Raphaël Durand
openssl req -new –nodes -keyout server.key -out server.csr -config /etc/ssl/req.conf
6 1 Raphaël Durand
7 1 Raphaël Durand
8 1 Raphaël Durand
/etc/ssl/cacert.conf
9 1 Raphaël Durand
[ req ]
10 1 Raphaël Durand
default_bits        = 1024
11 1 Raphaël Durand
default_keyfile     = privkey.pem
12 1 Raphaël Durand
distinguished_name  = req_distinguished_name
13 1 Raphaël Durand
req_extensions     = req_ext # The extentions to add to the self signed cert
14 1 Raphaël Durand
15 1 Raphaël Durand
[ req_distinguished_name ]
16 1 Raphaël Durand
commonName            = Common Name (eg, YOUR name)
17 1 Raphaël Durand
commonName_max        = 64
18 1 Raphaël Durand
19 1 Raphaël Durand
[ req_ext ]
20 1 Raphaël Durand
subjectAltName          = @alt_names
21 1 Raphaël Durand
22 1 Raphaël Durand
[alt_names]
23 1 Raphaël Durand
DNS.1   = mail.exemple.com
24 1 Raphaël Durand
DNS.2   = www.exemple.com