summaryrefslogtreecommitdiffstats
path: root/tests/ca/ca_config.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ca/ca_config.txt')
-rwxr-xr-xtests/ca/ca_config.txt36
1 files changed, 36 insertions, 0 deletions
diff --git a/tests/ca/ca_config.txt b/tests/ca/ca_config.txt
new file mode 100755
index 0000000..bcf4e9b
--- /dev/null
+++ b/tests/ca/ca_config.txt
@@ -0,0 +1,36 @@
+
+
+[ ca ]
+default_ca = CA_default # The default ca section
+
+[ CA_default ]
+
+dir = ./ # top dir
+database = $dir/testnet_cert_index_db.txt # index file.
+new_certs_dir = $dir/../ # new certs dir
+
+#certificate = $dir/testnetCA.pem # The CA cert
+certificate = $dir/picapica_test_CA.pem
+serial = $dir/serial # serial no file
+#private_key = $dir/privkey_testnetCA.pem # CA private key
+private_key = $dir/picapica_test_CA_pkey.pem # CA private key
+RANDFILE = /dev/urandom # random number file
+
+default_days = 3685 # how long to certify for
+default_crl_days= 30 # how long before next CRL
+default_md = sha1 # md to use
+
+policy = policy_any # default policy
+email_in_dn = no # Don't add the email into cert DN
+
+name_opt = ca_default # Subject name display option
+cert_opt = ca_default # Certificate display option
+copy_extensions = none # Don't copy extensions from request
+
+[ policy_any ]
+countryName = optional
+stateOrProvinceName = optional
+organizationName = optional
+organizationalUnitName = optional
+commonName = supplied
+emailAddress = optional