2015-07-10 08:26:51 -04:00
|
|
|
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.
|
|
|
|
|
|
2015-03-18 10:32:43 -04:00
|
|
|
The following command has been used to generate test keys:
|
2015-03-17 11:46:27 -04:00
|
|
|
|
2015-10-28 03:26:52 -04:00
|
|
|
for x in 256 512 1024 2048; do openssl genrsa -out rsa${k}_key.pem $k; done
|
2015-03-17 11:46:27 -04:00
|
|
|
|
|
|
|
|
and for the CSR:
|
|
|
|
|
|
2015-10-28 03:26:52 -04:00
|
|
|
openssl req -key rsa2048_key.pem -new -subj '/CN=example.com' -outform DER > csr.der
|
2015-06-18 06:38:20 -04:00
|
|
|
|
2018-06-26 18:33:41 -04:00
|
|
|
and for the certificate:
|
2015-06-18 06:38:20 -04:00
|
|
|
|
2018-06-26 18:33:41 -04:00
|
|
|
openssl req -key rsa2047_key.pem -new -subj '/CN=example.com' -x509 -outform DER > cert.der
|