blob: 4bc5381451deac69da8cb8f40da6f2b146ee81e9 (
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
|
# $OpenBSD: crt.in,v 1.2 2020/01/15 22:47:24 tobhe Exp $
[ req ]
default_bits = 2048 # default strength of client certificates
default_md = sha2
encrypt_key = yes # "no" is equivalent to -nodes
prompt = no
string_mask = utf8only
distinguished_name = dn # root certificate name
req_extensions = req_cert_extensions
[dn]
C=DE
ST=Bavaria
L=Munich
O=iked
CN=${ENV::ALTNAME}
[ req_cert_extensions ]
subjectAltName = @alt_names #;otherName = ${ENV::ALTNAME}-other
[ alt_names ]
DNS.1=${ENV::ALTNAME}
DNS.2=${ENV::ALTNAME}-alternative
email= ${ENV::ALTNAME}@openbsd.org
|