File: sslconf.txt

package info (click to toggle)
polarssl 1.3.9-2.1%2Bdeb8u3
  • links: PTS
  • area: main
  • in suites: jessie
  • size: 11,440 kB
  • sloc: ansic: 56,173; sh: 2,814; perl: 1,008; makefile: 685; tcl: 4
file content (50 lines) | stat: -rw-r--r-- 1,308 bytes parent folder | download | duplicates (5)
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
##================================================================
##============== Example OpenSSL configuration file ==============
##================================================================

#  References:
#
#  /etc/ssl/openssl.conf
#  http://www.openssl.org/docs/apps/config.html
#  http://www.openssl.org/docs/apps/x509v3_config.html

[ ca ]
default_ca              = my_ca

[ my_ca ]
certificate             = test-ca.crt
private_key             = test-ca.key
database                = index
serial                  = serial

new_certs_dir           = newcerts
default_crl_days        = 5
default_days            = 3653
default_md              = sha1
policy                  = my_policy
x509_extensions         = v3_usr
copy_extensions         = copy

[ my_policy ]
countryName             = supplied
organizationName        = match
commonName              = supplied

[ req ]
distinguished_name      = my_req_dn
x509_extensions         = v3_ca
prompt			        = no

[ v3_ca ]
basicConstraints        = CA:TRUE
subjectKeyIdentifier    = hash
authorityKeyIdentifier  = keyid:always,issuer:always

[ v3_usr ]
basicConstraints        = CA:FALSE
subjectKeyIdentifier    = hash
authorityKeyIdentifier  = keyid,issuer

[ my_req_dn ]
C=NL
O=PolarSSL