Subversion Repositories ALCASAR

Rev

Rev 1056 | Rev 1705 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 1056 Rev 1702
Line 1... Line 1...
1
#!/bin/sh
1
#!/bin/sh
2
# $Id: alcasar-CA.sh 1056 2013-03-26 21:46:36Z stephane $
2
# $Id: alcasar-CA.sh 1702 2015-10-15 19:39:50Z richard $
3
 
3
 
4
# alcasar-CA.sh
4
# alcasar-CA.sh
5
# by Franck BOUIJOUX, Pascal LEVANT and Richard REY
5
# by Franck BOUIJOUX, Pascal LEVANT and Richard REY
6
# This script is distributed under the Gnu General Public License (GPL)
6
# This script is distributed under the Gnu General Public License (GPL)
7
#
7
#
Line 49... Line 49...
49
x509_extensions	= usr_cert		# The extentions to add to the cert
49
x509_extensions	= usr_cert		# The extentions to add to the cert
50
crl_extensions	= crl_ext
50
crl_extensions	= crl_ext
51
 
51
 
52
default_days	= 365			# how long to certify for
52
default_days	= 365			# how long to certify for
53
default_crl_days= 30			# how long before next CRL
53
default_crl_days= 30			# how long before next CRL
54
default_md	= sha1			# which md to use.
54
default_md	= sha256		# which message digest to use.
55
preserve	= no			# keep passed DN ordering
55
preserve	= no			# keep passed DN ordering
56
 
56
 
57
policy		= policy_anything
57
policy		= policy_anything
58
 
58
 
59
[ policy_anything ]
59
[ policy_anything ]
Line 64... Line 64...
64
organizationalUnitName  = optional
64
organizationalUnitName  = optional
65
commonName              = supplied
65
commonName              = supplied
66
emailAddress            = optional
66
emailAddress            = optional
67
 
67
 
68
[ req ]
68
[ req ]
69
default_bits		= 1024
69
default_bits		= 2048
70
distinguished_name	= req_distinguished_name
70
distinguished_name	= req_distinguished_name
71
# attributes		= req_attributes
71
# attributes		= req_attributes
72
x509_extensions	= v3_ca	# The extentions to add to the self signed cert
72
x509_extensions	= v3_ca	# The extentions to add to the self signed cert
73
 
73
 
74
[ req_distinguished_name ]
74
[ req_distinguished_name ]