traefik/integration/fixtures/https/clientca
2020-01-23 16:36:07 +01:00
..
ca1.crt Added tests for client certificate authentication 2016-07-20 14:41:38 +02:00
ca1.key Added tests for client certificate authentication 2016-07-20 14:41:38 +02:00
ca1.srl Added tests for client certificate authentication 2016-07-20 14:41:38 +02:00
ca1and2.crt Added tests for client certificate authentication 2016-07-20 14:41:38 +02:00
ca2.crt Added tests for client certificate authentication 2016-07-20 14:41:38 +02:00
ca2.key Added tests for client certificate authentication 2016-07-20 14:41:38 +02:00
ca2.srl Added tests for client certificate authentication 2016-07-20 14:41:38 +02:00
ca3.crt Added tests for client certificate authentication 2016-07-20 14:41:38 +02:00
ca3.key Added tests for client certificate authentication 2016-07-20 14:41:38 +02:00
ca3.srl Added tests for client certificate authentication 2016-07-20 14:41:38 +02:00
client1.crt Added tests for client certificate authentication 2016-07-20 14:41:38 +02:00
client1.csr Added tests for client certificate authentication 2016-07-20 14:41:38 +02:00
client1.key Added tests for client certificate authentication 2016-07-20 14:41:38 +02:00
client2.crt Added tests for client certificate authentication 2016-07-20 14:41:38 +02:00
client2.csr Added tests for client certificate authentication 2016-07-20 14:41:38 +02:00
client2.key Added tests for client certificate authentication 2016-07-20 14:41:38 +02:00
client3.crt Added tests for client certificate authentication 2016-07-20 14:41:38 +02:00
client3.csr Added tests for client certificate authentication 2016-07-20 14:41:38 +02:00
client3.key Added tests for client certificate authentication 2016-07-20 14:41:38 +02:00
https_1ca1config.toml doc: use the same entry point name everywhere 2020-01-23 16:36:07 +01:00
https_2ca1config.toml doc: use the same entry point name everywhere 2020-01-23 16:36:07 +01:00
https_2ca2config.toml doc: use the same entry point name everywhere 2020-01-23 16:36:07 +01:00
README.md Added tests for client certificate authentication 2016-07-20 14:41:38 +02:00

This is how the certs were created

openssl req -new -newkey rsa:2048 -x509 -days 3650 -extensions v3_ca -keyout ca1.pem -out ca1.crt
openssl req -new -newkey rsa:2048 -x509 -days 3650 -extensions v3_ca -keyout ca2.pem -out ca2.crt
openssl req -new -newkey rsa:2048 -x509 -days 3650 -extensions v3_ca -keyout ca3.pem -out ca3.crt
openssl rsa -in ca1.pem -out ca1.key
openssl rsa -in ca2.pem -out ca2.key
openssl rsa -in ca3.pem -out ca3.key
cat ca1.crt ca2.crt > ca1and2.crt
rm ca1.pem ca2.pem ca3.pem

openssl genrsa -out client1.key 2048
openssl genrsa -out client2.key 2048
openssl genrsa -out client3.key 2048

openssl req -key client1.key -new -out client1.csr
openssl req -key client2.key -new -out client2.csr
openssl req -key client3.key -new -out client3.csr

openssl x509 -req -days 3650 -in client1.csr -CA ca1.crt -CAkey ca1.key -CAcreateserial -out client1.crt
openssl x509 -req -days 3650 -in client2.csr -CA ca2.crt -CAkey ca2.key -CAcreateserial -out client2.crt
openssl x509 -req -days 3650 -in client3.csr -CA ca3.crt -CAkey ca3.key -CAcreateserial -out client3.crt