summaryrefslogtreecommitdiff
path: root/test/certs/domain.cfg
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2019-03-20 13:28:53 -0400
committerChris Evich <cevich@redhat.com>2019-03-20 13:36:17 -0400
commit148046745ac76342c22fe025e1593bc45252512d (patch)
tree56b02fab50fff52ebaa0edf6f4cb69bf3cdae26f /test/certs/domain.cfg
parentbae1561c992f5a5a96c69c072d21a3d416cd95b9 (diff)
downloadpodman-148046745ac76342c22fe025e1593bc45252512d.tar.gz
podman-148046745ac76342c22fe025e1593bc45252512d.tar.bz2
podman-148046745ac76342c22fe025e1593bc45252512d.zip
Add new key and never-expiring test certificate
Former `domain.crt` was created with a one-year life and expired causing all testing to fail. Create a replacement, along with configuration and documentation on how to make a new certificate if ever required. Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'test/certs/domain.cfg')
-rw-r--r--test/certs/domain.cfg30
1 files changed, 30 insertions, 0 deletions
diff --git a/test/certs/domain.cfg b/test/certs/domain.cfg
new file mode 100644
index 000000000..5baeb5631
--- /dev/null
+++ b/test/certs/domain.cfg
@@ -0,0 +1,30 @@
+# X.509 Certificate options
+organization = "Koko inc."
+unit = "sleeping dept."
+locality = "foobar"
+state = "Attiki"
+country = GR
+cn = "Cindy Lauper"
+uid = "clauper"
+dc = "name"
+dc = "domain"
+serial = 1234
+dns_name = "localhost"
+# Use -1 if there is no expiration date.
+expiration_days = -1
+email = "none@none.org"
+signing_key
+encryption_key
+cert_signing_key
+crl_signing_key
+data_encipherment
+non_repudiation
+tls_www_client
+tls_www_server
+code_signing_key
+ocsp_signing_key
+time_stamping_key
+email_protection_key
+ipsec_ike_key
+# for any purpose (must not be used in intermediate CA certificates)
+key_purpose_oid = 2.5.29.37.0