summaryrefslogtreecommitdiff
blob: 7a51d913b85d3d83534e5722bb38ece47773e14b (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
# $Header: /var/cvsroot/gentoo-x86/net-im/ejabberd/files/ssl.cnf,v 1.1 2006/10/12 16:26:07 chainsaw Exp $
# This is the openssl config file to generate keys for ejabberd
# It is read by self-cert.sh

[ req ]
# you can increase this value, but be aware that it will make things much slower
# this should be a power of 2!
default_bits = 1024
# leave the rest of these alone!
encrypt_key = yes
distinguished_name = req_dn
x509_extensions = cert_type
prompt = no

[ req_dn ]
# 2-Letter ISO country code
C=UK
# FULL name of state/province/district
# NO abbreviations!
ST=Cambridgeshire
# FULL name of city
# NO abbreviations!
L=Peterborough
# Full Name of your organization
# NO abbreviations!
O=Bits and Bobs Ltd.
# Leave this alone unless specifically need to change it!
OU=Automatically-generated ejabberd SSL key
# This should be a FQDN that resolves to the IP of your server
CN=localhost
# This should be the email address for the administrator of the server
emailAddress=root@localhost

# Leave this alone!
[ cert_type ]
nsCertType = server