1e1051a39Sopenharmony_ci#
2e1051a39Sopenharmony_ci# OpenSSL example configuration file.
3e1051a39Sopenharmony_ci# See doc/man5/config.pod for more info.
4e1051a39Sopenharmony_ci#
5e1051a39Sopenharmony_ci# This is mostly being used for generation of certificate requests,
6e1051a39Sopenharmony_ci# but may be used for auto loading of providers
7e1051a39Sopenharmony_ci
8e1051a39Sopenharmony_ci# Note that you can include other files from the main configuration
9e1051a39Sopenharmony_ci# file using the .include directive.
10e1051a39Sopenharmony_ci#.include filename
11e1051a39Sopenharmony_ci
12e1051a39Sopenharmony_ci# This definition stops the following lines choking if HOME isn't
13e1051a39Sopenharmony_ci# defined.
14e1051a39Sopenharmony_ciHOME			= .
15e1051a39Sopenharmony_ci
16e1051a39Sopenharmony_ci # Use this in order to automatically load providers.
17e1051a39Sopenharmony_ciopenssl_conf = openssl_init
18e1051a39Sopenharmony_ci
19e1051a39Sopenharmony_ci# Comment out the next line to ignore configuration errors
20e1051a39Sopenharmony_ciconfig_diagnostics = 1
21e1051a39Sopenharmony_ci
22e1051a39Sopenharmony_ci# Extra OBJECT IDENTIFIER info:
23e1051a39Sopenharmony_ci# oid_file       = $ENV::HOME/.oid
24e1051a39Sopenharmony_cioid_section = new_oids
25e1051a39Sopenharmony_ci
26e1051a39Sopenharmony_ci# To use this configuration file with the "-extfile" option of the
27e1051a39Sopenharmony_ci# "openssl x509" utility, name here the section containing the
28e1051a39Sopenharmony_ci# X.509v3 extensions to use:
29e1051a39Sopenharmony_ci# extensions		=
30e1051a39Sopenharmony_ci# (Alternatively, use a configuration file that has only
31e1051a39Sopenharmony_ci# X.509v3 extensions in its main [= default] section.)
32e1051a39Sopenharmony_ci
33e1051a39Sopenharmony_ci[ new_oids ]
34e1051a39Sopenharmony_ci# We can add new OIDs in here for use by 'ca', 'req' and 'ts'.
35e1051a39Sopenharmony_ci# Add a simple OID like this:
36e1051a39Sopenharmony_ci# testoid1=1.2.3.4
37e1051a39Sopenharmony_ci# Or use config file substitution like this:
38e1051a39Sopenharmony_ci# testoid2=${testoid1}.5.6
39e1051a39Sopenharmony_ci
40e1051a39Sopenharmony_ci# Policies used by the TSA examples.
41e1051a39Sopenharmony_citsa_policy1 = 1.2.3.4.1
42e1051a39Sopenharmony_citsa_policy2 = 1.2.3.4.5.6
43e1051a39Sopenharmony_citsa_policy3 = 1.2.3.4.5.7
44e1051a39Sopenharmony_ci
45e1051a39Sopenharmony_ci# For FIPS
46e1051a39Sopenharmony_ci# Optionally include a file that is generated by the OpenSSL fipsinstall
47e1051a39Sopenharmony_ci# application. This file contains configuration data required by the OpenSSL
48e1051a39Sopenharmony_ci# fips provider. It contains a named section e.g. [fips_sect] which is
49e1051a39Sopenharmony_ci# referenced from the [provider_sect] below.
50e1051a39Sopenharmony_ci# Refer to the OpenSSL security policy for more information.
51e1051a39Sopenharmony_ci# .include fipsmodule.cnf
52e1051a39Sopenharmony_ci
53e1051a39Sopenharmony_ci[openssl_init]
54e1051a39Sopenharmony_ciproviders = provider_sect
55e1051a39Sopenharmony_ci
56e1051a39Sopenharmony_ci# List of providers to load
57e1051a39Sopenharmony_ci[provider_sect]
58e1051a39Sopenharmony_cidefault = default_sect
59e1051a39Sopenharmony_ci# The fips section name should match the section name inside the
60e1051a39Sopenharmony_ci# included fipsmodule.cnf.
61e1051a39Sopenharmony_ci# fips = fips_sect
62e1051a39Sopenharmony_ci
63e1051a39Sopenharmony_ci# If no providers are activated explicitly, the default one is activated implicitly.
64e1051a39Sopenharmony_ci# See man 7 OSSL_PROVIDER-default for more details.
65e1051a39Sopenharmony_ci#
66e1051a39Sopenharmony_ci# If you add a section explicitly activating any other provider(s), you most
67e1051a39Sopenharmony_ci# probably need to explicitly activate the default provider, otherwise it
68e1051a39Sopenharmony_ci# becomes unavailable in openssl.  As a consequence applications depending on
69e1051a39Sopenharmony_ci# OpenSSL may not work correctly which could lead to significant system
70e1051a39Sopenharmony_ci# problems including inability to remotely access the system.
71e1051a39Sopenharmony_ci[default_sect]
72e1051a39Sopenharmony_ci# activate = 1
73e1051a39Sopenharmony_ci
74e1051a39Sopenharmony_ci
75e1051a39Sopenharmony_ci####################################################################
76e1051a39Sopenharmony_ci[ ca ]
77e1051a39Sopenharmony_cidefault_ca	= CA_default		# The default ca section
78e1051a39Sopenharmony_ci
79e1051a39Sopenharmony_ci####################################################################
80e1051a39Sopenharmony_ci[ CA_default ]
81e1051a39Sopenharmony_ci
82e1051a39Sopenharmony_cidir		= ./demoCA		# Where everything is kept
83e1051a39Sopenharmony_cicerts		= $dir/certs		# Where the issued certs are kept
84e1051a39Sopenharmony_cicrl_dir		= $dir/crl		# Where the issued crl are kept
85e1051a39Sopenharmony_cidatabase	= $dir/index.txt	# database index file.
86e1051a39Sopenharmony_ci#unique_subject	= no			# Set to 'no' to allow creation of
87e1051a39Sopenharmony_ci					# several certs with same subject.
88e1051a39Sopenharmony_cinew_certs_dir	= $dir/newcerts		# default place for new certs.
89e1051a39Sopenharmony_ci
90e1051a39Sopenharmony_cicertificate	= $dir/cacert.pem 	# The CA certificate
91e1051a39Sopenharmony_ciserial		= $dir/serial 		# The current serial number
92e1051a39Sopenharmony_cicrlnumber	= $dir/crlnumber	# the current crl number
93e1051a39Sopenharmony_ci					# must be commented out to leave a V1 CRL
94e1051a39Sopenharmony_cicrl		= $dir/crl.pem 		# The current CRL
95e1051a39Sopenharmony_ciprivate_key	= $dir/private/cakey.pem# The private key
96e1051a39Sopenharmony_ci
97e1051a39Sopenharmony_cix509_extensions	= usr_cert		# The extensions to add to the cert
98e1051a39Sopenharmony_ci
99e1051a39Sopenharmony_ci# Comment out the following two lines for the "traditional"
100e1051a39Sopenharmony_ci# (and highly broken) format.
101e1051a39Sopenharmony_ciname_opt 	= ca_default		# Subject Name options
102e1051a39Sopenharmony_cicert_opt 	= ca_default		# Certificate field options
103e1051a39Sopenharmony_ci
104e1051a39Sopenharmony_ci# Extension copying option: use with caution.
105e1051a39Sopenharmony_ci# copy_extensions = copy
106e1051a39Sopenharmony_ci
107e1051a39Sopenharmony_ci# Extensions to add to a CRL. Note: Netscape communicator chokes on V2 CRLs
108e1051a39Sopenharmony_ci# so this is commented out by default to leave a V1 CRL.
109e1051a39Sopenharmony_ci# crlnumber must also be commented out to leave a V1 CRL.
110e1051a39Sopenharmony_ci# crl_extensions	= crl_ext
111e1051a39Sopenharmony_ci
112e1051a39Sopenharmony_cidefault_days	= 365			# how long to certify for
113e1051a39Sopenharmony_cidefault_crl_days= 30			# how long before next CRL
114e1051a39Sopenharmony_cidefault_md	= default		# use public key default MD
115e1051a39Sopenharmony_cipreserve	= no			# keep passed DN ordering
116e1051a39Sopenharmony_ci
117e1051a39Sopenharmony_ci# A few difference way of specifying how similar the request should look
118e1051a39Sopenharmony_ci# For type CA, the listed attributes must be the same, and the optional
119e1051a39Sopenharmony_ci# and supplied fields are just that :-)
120e1051a39Sopenharmony_cipolicy		= policy_match
121e1051a39Sopenharmony_ci
122e1051a39Sopenharmony_ci# For the CA policy
123e1051a39Sopenharmony_ci[ policy_match ]
124e1051a39Sopenharmony_cicountryName		= match
125e1051a39Sopenharmony_cistateOrProvinceName	= match
126e1051a39Sopenharmony_ciorganizationName	= match
127e1051a39Sopenharmony_ciorganizationalUnitName	= optional
128e1051a39Sopenharmony_cicommonName		= supplied
129e1051a39Sopenharmony_ciemailAddress		= optional
130e1051a39Sopenharmony_ci
131e1051a39Sopenharmony_ci# For the 'anything' policy
132e1051a39Sopenharmony_ci# At this point in time, you must list all acceptable 'object'
133e1051a39Sopenharmony_ci# types.
134e1051a39Sopenharmony_ci[ policy_anything ]
135e1051a39Sopenharmony_cicountryName		= optional
136e1051a39Sopenharmony_cistateOrProvinceName	= optional
137e1051a39Sopenharmony_cilocalityName		= optional
138e1051a39Sopenharmony_ciorganizationName	= optional
139e1051a39Sopenharmony_ciorganizationalUnitName	= optional
140e1051a39Sopenharmony_cicommonName		= supplied
141e1051a39Sopenharmony_ciemailAddress		= optional
142e1051a39Sopenharmony_ci
143e1051a39Sopenharmony_ci####################################################################
144e1051a39Sopenharmony_ci[ req ]
145e1051a39Sopenharmony_cidefault_bits		= 2048
146e1051a39Sopenharmony_cidefault_keyfile 	= privkey.pem
147e1051a39Sopenharmony_cidistinguished_name	= req_distinguished_name
148e1051a39Sopenharmony_ciattributes		= req_attributes
149e1051a39Sopenharmony_cix509_extensions	= v3_ca	# The extensions to add to the self signed cert
150e1051a39Sopenharmony_ci
151e1051a39Sopenharmony_ci# Passwords for private keys if not present they will be prompted for
152e1051a39Sopenharmony_ci# input_password = secret
153e1051a39Sopenharmony_ci# output_password = secret
154e1051a39Sopenharmony_ci
155e1051a39Sopenharmony_ci# This sets a mask for permitted string types. There are several options.
156e1051a39Sopenharmony_ci# default: PrintableString, T61String, BMPString.
157e1051a39Sopenharmony_ci# pkix	 : PrintableString, BMPString (PKIX recommendation before 2004)
158e1051a39Sopenharmony_ci# utf8only: only UTF8Strings (PKIX recommendation after 2004).
159e1051a39Sopenharmony_ci# nombstr : PrintableString, T61String (no BMPStrings or UTF8Strings).
160e1051a39Sopenharmony_ci# MASK:XXXX a literal mask value.
161e1051a39Sopenharmony_ci# WARNING: ancient versions of Netscape crash on BMPStrings or UTF8Strings.
162e1051a39Sopenharmony_cistring_mask = utf8only
163e1051a39Sopenharmony_ci
164e1051a39Sopenharmony_ci# req_extensions = v3_req # The extensions to add to a certificate request
165e1051a39Sopenharmony_ci
166e1051a39Sopenharmony_ci[ req_distinguished_name ]
167e1051a39Sopenharmony_cicountryName			= Country Name (2 letter code)
168e1051a39Sopenharmony_cicountryName_default		= AU
169e1051a39Sopenharmony_cicountryName_min			= 2
170e1051a39Sopenharmony_cicountryName_max			= 2
171e1051a39Sopenharmony_ci
172e1051a39Sopenharmony_cistateOrProvinceName		= State or Province Name (full name)
173e1051a39Sopenharmony_cistateOrProvinceName_default	= Some-State
174e1051a39Sopenharmony_ci
175e1051a39Sopenharmony_cilocalityName			= Locality Name (eg, city)
176e1051a39Sopenharmony_ci
177e1051a39Sopenharmony_ci0.organizationName		= Organization Name (eg, company)
178e1051a39Sopenharmony_ci0.organizationName_default	= Internet Widgits Pty Ltd
179e1051a39Sopenharmony_ci
180e1051a39Sopenharmony_ci# we can do this but it is not needed normally :-)
181e1051a39Sopenharmony_ci#1.organizationName		= Second Organization Name (eg, company)
182e1051a39Sopenharmony_ci#1.organizationName_default	= World Wide Web Pty Ltd
183e1051a39Sopenharmony_ci
184e1051a39Sopenharmony_ciorganizationalUnitName		= Organizational Unit Name (eg, section)
185e1051a39Sopenharmony_ci#organizationalUnitName_default	=
186e1051a39Sopenharmony_ci
187e1051a39Sopenharmony_cicommonName			= Common Name (e.g. server FQDN or YOUR name)
188e1051a39Sopenharmony_cicommonName_max			= 64
189e1051a39Sopenharmony_ci
190e1051a39Sopenharmony_ciemailAddress			= Email Address
191e1051a39Sopenharmony_ciemailAddress_max		= 64
192e1051a39Sopenharmony_ci
193e1051a39Sopenharmony_ci# SET-ex3			= SET extension number 3
194e1051a39Sopenharmony_ci
195e1051a39Sopenharmony_ci[ req_attributes ]
196e1051a39Sopenharmony_cichallengePassword		= A challenge password
197e1051a39Sopenharmony_cichallengePassword_min		= 4
198e1051a39Sopenharmony_cichallengePassword_max		= 20
199e1051a39Sopenharmony_ci
200e1051a39Sopenharmony_ciunstructuredName		= An optional company name
201e1051a39Sopenharmony_ci
202e1051a39Sopenharmony_ci[ usr_cert ]
203e1051a39Sopenharmony_ci
204e1051a39Sopenharmony_ci# These extensions are added when 'ca' signs a request.
205e1051a39Sopenharmony_ci
206e1051a39Sopenharmony_ci# This goes against PKIX guidelines but some CAs do it and some software
207e1051a39Sopenharmony_ci# requires this to avoid interpreting an end user certificate as a CA.
208e1051a39Sopenharmony_ci
209e1051a39Sopenharmony_cibasicConstraints=CA:FALSE
210e1051a39Sopenharmony_ci
211e1051a39Sopenharmony_ci# This is typical in keyUsage for a client certificate.
212e1051a39Sopenharmony_ci# keyUsage = nonRepudiation, digitalSignature, keyEncipherment
213e1051a39Sopenharmony_ci
214e1051a39Sopenharmony_ci# PKIX recommendations harmless if included in all certificates.
215e1051a39Sopenharmony_cisubjectKeyIdentifier=hash
216e1051a39Sopenharmony_ciauthorityKeyIdentifier=keyid,issuer
217e1051a39Sopenharmony_ci
218e1051a39Sopenharmony_ci# This stuff is for subjectAltName and issuerAltname.
219e1051a39Sopenharmony_ci# Import the email address.
220e1051a39Sopenharmony_ci# subjectAltName=email:copy
221e1051a39Sopenharmony_ci# An alternative to produce certificates that aren't
222e1051a39Sopenharmony_ci# deprecated according to PKIX.
223e1051a39Sopenharmony_ci# subjectAltName=email:move
224e1051a39Sopenharmony_ci
225e1051a39Sopenharmony_ci# Copy subject details
226e1051a39Sopenharmony_ci# issuerAltName=issuer:copy
227e1051a39Sopenharmony_ci
228e1051a39Sopenharmony_ci# This is required for TSA certificates.
229e1051a39Sopenharmony_ci# extendedKeyUsage = critical,timeStamping
230e1051a39Sopenharmony_ci
231e1051a39Sopenharmony_ci[ v3_req ]
232e1051a39Sopenharmony_ci
233e1051a39Sopenharmony_ci# Extensions to add to a certificate request
234e1051a39Sopenharmony_ci
235e1051a39Sopenharmony_cibasicConstraints = CA:FALSE
236e1051a39Sopenharmony_cikeyUsage = nonRepudiation, digitalSignature, keyEncipherment
237e1051a39Sopenharmony_ci
238e1051a39Sopenharmony_ci[ v3_ca ]
239e1051a39Sopenharmony_ci
240e1051a39Sopenharmony_ci
241e1051a39Sopenharmony_ci# Extensions for a typical CA
242e1051a39Sopenharmony_ci
243e1051a39Sopenharmony_ci
244e1051a39Sopenharmony_ci# PKIX recommendation.
245e1051a39Sopenharmony_ci
246e1051a39Sopenharmony_cisubjectKeyIdentifier=hash
247e1051a39Sopenharmony_ci
248e1051a39Sopenharmony_ciauthorityKeyIdentifier=keyid:always,issuer
249e1051a39Sopenharmony_ci
250e1051a39Sopenharmony_cibasicConstraints = critical,CA:true
251e1051a39Sopenharmony_ci
252e1051a39Sopenharmony_ci# Key usage: this is typical for a CA certificate. However since it will
253e1051a39Sopenharmony_ci# prevent it being used as an test self-signed certificate it is best
254e1051a39Sopenharmony_ci# left out by default.
255e1051a39Sopenharmony_ci# keyUsage = cRLSign, keyCertSign
256e1051a39Sopenharmony_ci
257e1051a39Sopenharmony_ci# Include email address in subject alt name: another PKIX recommendation
258e1051a39Sopenharmony_ci# subjectAltName=email:copy
259e1051a39Sopenharmony_ci# Copy issuer details
260e1051a39Sopenharmony_ci# issuerAltName=issuer:copy
261e1051a39Sopenharmony_ci
262e1051a39Sopenharmony_ci# DER hex encoding of an extension: beware experts only!
263e1051a39Sopenharmony_ci# obj=DER:02:03
264e1051a39Sopenharmony_ci# Where 'obj' is a standard or added object
265e1051a39Sopenharmony_ci# You can even override a supported extension:
266e1051a39Sopenharmony_ci# basicConstraints= critical, DER:30:03:01:01:FF
267e1051a39Sopenharmony_ci
268e1051a39Sopenharmony_ci[ crl_ext ]
269e1051a39Sopenharmony_ci
270e1051a39Sopenharmony_ci# CRL extensions.
271e1051a39Sopenharmony_ci# Only issuerAltName and authorityKeyIdentifier make any sense in a CRL.
272e1051a39Sopenharmony_ci
273e1051a39Sopenharmony_ci# issuerAltName=issuer:copy
274e1051a39Sopenharmony_ciauthorityKeyIdentifier=keyid:always
275e1051a39Sopenharmony_ci
276e1051a39Sopenharmony_ci[ proxy_cert_ext ]
277e1051a39Sopenharmony_ci# These extensions should be added when creating a proxy certificate
278e1051a39Sopenharmony_ci
279e1051a39Sopenharmony_ci# This goes against PKIX guidelines but some CAs do it and some software
280e1051a39Sopenharmony_ci# requires this to avoid interpreting an end user certificate as a CA.
281e1051a39Sopenharmony_ci
282e1051a39Sopenharmony_cibasicConstraints=CA:FALSE
283e1051a39Sopenharmony_ci
284e1051a39Sopenharmony_ci# This is typical in keyUsage for a client certificate.
285e1051a39Sopenharmony_ci# keyUsage = nonRepudiation, digitalSignature, keyEncipherment
286e1051a39Sopenharmony_ci
287e1051a39Sopenharmony_ci# PKIX recommendations harmless if included in all certificates.
288e1051a39Sopenharmony_cisubjectKeyIdentifier=hash
289e1051a39Sopenharmony_ciauthorityKeyIdentifier=keyid,issuer
290e1051a39Sopenharmony_ci
291e1051a39Sopenharmony_ci# This stuff is for subjectAltName and issuerAltname.
292e1051a39Sopenharmony_ci# Import the email address.
293e1051a39Sopenharmony_ci# subjectAltName=email:copy
294e1051a39Sopenharmony_ci# An alternative to produce certificates that aren't
295e1051a39Sopenharmony_ci# deprecated according to PKIX.
296e1051a39Sopenharmony_ci# subjectAltName=email:move
297e1051a39Sopenharmony_ci
298e1051a39Sopenharmony_ci# Copy subject details
299e1051a39Sopenharmony_ci# issuerAltName=issuer:copy
300e1051a39Sopenharmony_ci
301e1051a39Sopenharmony_ci# This really needs to be in place for it to be a proxy certificate.
302e1051a39Sopenharmony_ciproxyCertInfo=critical,language:id-ppl-anyLanguage,pathlen:3,policy:foo
303e1051a39Sopenharmony_ci
304e1051a39Sopenharmony_ci####################################################################
305e1051a39Sopenharmony_ci[ tsa ]
306e1051a39Sopenharmony_ci
307e1051a39Sopenharmony_cidefault_tsa = tsa_config1	# the default TSA section
308e1051a39Sopenharmony_ci
309e1051a39Sopenharmony_ci[ tsa_config1 ]
310e1051a39Sopenharmony_ci
311e1051a39Sopenharmony_ci# These are used by the TSA reply generation only.
312e1051a39Sopenharmony_cidir		= ./demoCA		# TSA root directory
313e1051a39Sopenharmony_ciserial		= $dir/tsaserial	# The current serial number (mandatory)
314e1051a39Sopenharmony_cicrypto_device	= builtin		# OpenSSL engine to use for signing
315e1051a39Sopenharmony_cisigner_cert	= $dir/tsacert.pem 	# The TSA signing certificate
316e1051a39Sopenharmony_ci					# (optional)
317e1051a39Sopenharmony_cicerts		= $dir/cacert.pem	# Certificate chain to include in reply
318e1051a39Sopenharmony_ci					# (optional)
319e1051a39Sopenharmony_cisigner_key	= $dir/private/tsakey.pem # The TSA private key (optional)
320e1051a39Sopenharmony_cisigner_digest  = sha256			# Signing digest to use. (Optional)
321e1051a39Sopenharmony_cidefault_policy	= tsa_policy1		# Policy if request did not specify it
322e1051a39Sopenharmony_ci					# (optional)
323e1051a39Sopenharmony_ciother_policies	= tsa_policy2, tsa_policy3	# acceptable policies (optional)
324e1051a39Sopenharmony_cidigests     = sha1, sha256, sha384, sha512  # Acceptable message digests (mandatory)
325e1051a39Sopenharmony_ciaccuracy	= secs:1, millisecs:500, microsecs:100	# (optional)
326e1051a39Sopenharmony_ciclock_precision_digits  = 0	# number of digits after dot. (optional)
327e1051a39Sopenharmony_ciordering		= yes	# Is ordering defined for timestamps?
328e1051a39Sopenharmony_ci				# (optional, default: no)
329e1051a39Sopenharmony_citsa_name		= yes	# Must the TSA name be included in the reply?
330e1051a39Sopenharmony_ci				# (optional, default: no)
331e1051a39Sopenharmony_ciess_cert_id_chain	= no	# Must the ESS cert id chain be included?
332e1051a39Sopenharmony_ci				# (optional, default: no)
333e1051a39Sopenharmony_ciess_cert_id_alg		= sha1	# algorithm to compute certificate
334e1051a39Sopenharmony_ci				# identifier (optional, default: sha1)
335e1051a39Sopenharmony_ci
336e1051a39Sopenharmony_ci[insta] # CMP using Insta Demo CA
337e1051a39Sopenharmony_ci# Message transfer
338e1051a39Sopenharmony_ciserver = pki.certificate.fi:8700
339e1051a39Sopenharmony_ci# proxy = # set this as far as needed, e.g., http://192.168.1.1:8080
340e1051a39Sopenharmony_ci# tls_use = 0
341e1051a39Sopenharmony_cipath = pkix/
342e1051a39Sopenharmony_ci
343e1051a39Sopenharmony_ci# Server authentication
344e1051a39Sopenharmony_cirecipient = "/C=FI/O=Insta Demo/CN=Insta Demo CA" # or set srvcert or issuer
345e1051a39Sopenharmony_ciignore_keyusage = 1 # potentially needed quirk
346e1051a39Sopenharmony_ciunprotected_errors = 1 # potentially needed quirk
347e1051a39Sopenharmony_ciextracertsout = insta.extracerts.pem
348e1051a39Sopenharmony_ci
349e1051a39Sopenharmony_ci# Client authentication
350e1051a39Sopenharmony_ciref = 3078 # user identification
351e1051a39Sopenharmony_cisecret = pass:insta # can be used for both client and server side
352e1051a39Sopenharmony_ci
353e1051a39Sopenharmony_ci# Generic message options
354e1051a39Sopenharmony_cicmd = ir # default operation, can be overridden on cmd line with, e.g., kur
355e1051a39Sopenharmony_ci
356e1051a39Sopenharmony_ci# Certificate enrollment
357e1051a39Sopenharmony_cisubject = "/CN=openssl-cmp-test"
358e1051a39Sopenharmony_cinewkey = insta.priv.pem
359e1051a39Sopenharmony_ciout_trusted = apps/insta.ca.crt # does not include keyUsage digitalSignature
360e1051a39Sopenharmony_cicertout = insta.cert.pem
361e1051a39Sopenharmony_ci
362e1051a39Sopenharmony_ci[pbm] # Password-based protection for Insta CA
363e1051a39Sopenharmony_ci# Server and client authentication
364e1051a39Sopenharmony_ciref = $insta::ref # 3078
365e1051a39Sopenharmony_cisecret = $insta::secret # pass:insta
366e1051a39Sopenharmony_ci
367e1051a39Sopenharmony_ci[signature] # Signature-based protection for Insta CA
368e1051a39Sopenharmony_ci# Server authentication
369e1051a39Sopenharmony_citrusted = $insta::out_trusted # apps/insta.ca.crt
370e1051a39Sopenharmony_ci
371e1051a39Sopenharmony_ci# Client authentication
372e1051a39Sopenharmony_cisecret = # disable PBM
373e1051a39Sopenharmony_cikey = $insta::newkey # insta.priv.pem
374e1051a39Sopenharmony_cicert = $insta::certout # insta.cert.pem
375e1051a39Sopenharmony_ci
376e1051a39Sopenharmony_ci[ir]
377e1051a39Sopenharmony_cicmd = ir
378e1051a39Sopenharmony_ci
379e1051a39Sopenharmony_ci[cr]
380e1051a39Sopenharmony_cicmd = cr
381e1051a39Sopenharmony_ci
382e1051a39Sopenharmony_ci[kur]
383e1051a39Sopenharmony_ci# Certificate update
384e1051a39Sopenharmony_cicmd = kur
385e1051a39Sopenharmony_cioldcert = $insta::certout # insta.cert.pem
386e1051a39Sopenharmony_ci
387e1051a39Sopenharmony_ci[rr]
388e1051a39Sopenharmony_ci# Certificate revocation
389e1051a39Sopenharmony_cicmd = rr
390e1051a39Sopenharmony_cioldcert = $insta::certout # insta.cert.pem
391