debian-forge/test/data/certs
2024-11-04 16:35:53 +01:00
..
cert1.pem test: update the test cert to expire in 100y 2024-08-27 09:39:17 +02:00
cert2.pem test: update the test cert to expire in 100y 2024-08-27 09:39:17 +02:00
client1-client.crt sources: MTLS and proxy support for ostree 2024-11-04 16:35:53 +01:00
client1-client.key sources: MTLS and proxy support for ostree 2024-11-04 16:35:53 +01:00
generate-test-certs sources: MTLS and proxy support for ostree 2024-11-04 16:35:53 +01:00
key1.pem test: update the test cert to expire in 100y 2024-08-27 09:39:17 +02:00
key2.pem test: update the test cert to expire in 100y 2024-08-27 09:39:17 +02:00
localhost-server.crt sources: MTLS and proxy support for ostree 2024-11-04 16:35:53 +01:00
localhost-server.key sources: MTLS and proxy support for ostree 2024-11-04 16:35:53 +01:00
README.md sources: MTLS and proxy support for ostree 2024-11-04 16:35:53 +01:00
test-ca.crt sources: MTLS and proxy support for ostree 2024-11-04 16:35:53 +01:00
test-ca.key sources: MTLS and proxy support for ostree 2024-11-04 16:35:53 +01:00

This directory contains custom self-signed and worthless certs used during testing. They are not dynamically generated to avoid the extra compuation time during tests (but they could be).

Files cert{1,2}.pem and key{1,2}.pem were generated via:

$ openssl req -new -newkey rsa:2048  -nodes -x509  \
   -subj "/C=DE/ST=Berlin/L=Berlin/O=Org/CN=localhost"   \
   -days 36500 \
   -keyout "key1.pem" -out "cert1.pem"

The following files were generated via a shell script named generate-test-certs and can be used for MTLS testing:

  • test-ca.crt: Certificate Authority
  • test-ca.key: Certificate Authority key without any password
  • localhost-server.crt: MTLS server certificate signed by test-ca.crt
  • localhost-server.key: MTLS server certificate key without any password
  • client1-client.crt: MTLS client certificate signed by test-ca.crt
  • client1-client.key: MTLS client certificate key without any password