Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'acme/tests/testdata/README')
-rw-r--r--acme/tests/testdata/README15
1 files changed, 15 insertions, 0 deletions
diff --git a/acme/tests/testdata/README b/acme/tests/testdata/README
new file mode 100644
index 000000000..dfe3f5405
--- /dev/null
+++ b/acme/tests/testdata/README
@@ -0,0 +1,15 @@
+In order for acme.test_util._guess_loader to work properly, make sure
+to use appropriate extension for vector filenames: .pem for PEM and
+.der for DER.
+
+The following command has been used to generate test keys:
+
+ for x in 256 512 1024 2048; do openssl genrsa -out rsa${k}_key.pem $k; done
+
+and for the CSR:
+
+ openssl req -key rsa2048_key.pem -new -subj '/CN=example.com' -outform DER > csr.der
+
+and for the certificate:
+
+ openssl req -key rsa2047_key.pem -new -subj '/CN=example.com' -x509 -outform DER > cert.der