aboutsummaryrefslogtreecommitdiff
path: root/test/certs/README.md
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-03-20 12:08:49 -0700
committerGitHub <noreply@github.com>2019-03-20 12:08:49 -0700
commita7098485969095197059fe27f3d636a689f642fd (patch)
tree56b02fab50fff52ebaa0edf6f4cb69bf3cdae26f /test/certs/README.md
parentbae1561c992f5a5a96c69c072d21a3d416cd95b9 (diff)
parent148046745ac76342c22fe025e1593bc45252512d (diff)
downloadpodman-a7098485969095197059fe27f3d636a689f642fd.tar.gz
podman-a7098485969095197059fe27f3d636a689f642fd.tar.bz2
podman-a7098485969095197059fe27f3d636a689f642fd.zip
Merge pull request #2724 from cevich/fix_test_cert
Add new key and never-expiring test certificate
Diffstat (limited to 'test/certs/README.md')
-rw-r--r--test/certs/README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/certs/README.md b/test/certs/README.md
new file mode 100644
index 000000000..3aab01440
--- /dev/null
+++ b/test/certs/README.md
@@ -0,0 +1,9 @@
+# How to generate key and cert:
+
+## Make private key without a password
+
+certtool --rsa --generate-privkey --null-password --outfile=domain.key
+
+## Use ``domain.cfg`` template to make self-signed cert
+
+certtool --generate-self-signed --load-privkey=domain.key --template=domain.cfg --outfile=domain.crt --load-ca-privkey=domain.key --null-password --no-text