summaryrefslogtreecommitdiff
path: root/test/certs/README.md
diff options
context:
space:
mode:
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