mirror of
https://github.com/certbot/certbot.git
synced 2026-02-03 20:40:36 -05:00
|
|
||
|---|---|---|
| .. | ||
| cert-100sans.pem | ||
| cert-idnsans.pem | ||
| cert-ipsans.pem | ||
| cert-ipv6sans.pem | ||
| cert-nocn.der | ||
| cert-san.pem | ||
| cert.der | ||
| cert.pem | ||
| critical-san.pem | ||
| csr-6sans.pem | ||
| csr-100sans.pem | ||
| csr-idnsans.pem | ||
| csr-ipsans.pem | ||
| csr-ipv6sans.pem | ||
| csr-mixed.pem | ||
| csr-nosans.pem | ||
| csr-san.pem | ||
| csr.der | ||
| csr.pem | ||
| dsa512_key.pem | ||
| ec_secp384r1_key.pem | ||
| README | ||
| rsa256_key.pem | ||
| rsa512_key.pem | ||
| rsa1024_cert.pem | ||
| rsa1024_key.pem | ||
| rsa2048_cert.pem | ||
| rsa2048_key.pem | ||
| rsa4096_cert.pem | ||
| rsa4096_key.pem | ||
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 k in 256 512 1024 2048 4096; 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 certificates:
openssl req -key rsa2048_key.pem -new -subj '/CN=example.com' -x509 -outform DER > cert.der
openssl req -key rsa2048_key.pem -new -subj '/CN=example.com' -x509 > rsa2048_cert.pem
openssl req -key rsa1024_key.pem -new -subj '/CN=example.com' -x509 > rsa1024_cert.pem
and for the elliptic key curves:
openssl genpkey -algorithm EC -out ec_secp384r1.pem -pkeyopt ec_paramgen_curve:P-384 -pkeyopt ec_param_enc:named_curve