podman/test/certs
Chris Evich 148046745a
Add new key and never-expiring test certificate
Former `domain.crt` was created with a one-year life and expired causing
all testing to fail.  Create a replacement, along with configuration and
documentation on how to make a new certificate if ever required.

Signed-off-by: Chris Evich <cevich@redhat.com>
2019-03-20 13:36:17 -04:00
..
domain.cfg Add new key and never-expiring test certificate 2019-03-20 13:36:17 -04:00
domain.crt Add new key and never-expiring test certificate 2019-03-20 13:36:17 -04:00
domain.key Add new key and never-expiring test certificate 2019-03-20 13:36:17 -04:00
README.md Add new key and never-expiring test certificate 2019-03-20 13:36:17 -04:00

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