|
|
1 anno fa | |
|---|---|---|
| .. | ||
| README.md | 1 anno fa | |
| client_CA1_1.key | 1 anno fa | |
| client_CA1_1.pem | 1 anno fa | |
| client_CA1_2.key | 1 anno fa | |
| client_CA1_2.pem | 1 anno fa | |
| client_CA1_3.key | 1 anno fa | |
| client_CA1_3.pem | 1 anno fa | |
| client_CA1_4.key | 1 anno fa | |
| client_CA1_4.pem | 1 anno fa | |
| crl_number | 1 anno fa | |
| crl_number.old | 1 anno fa | |
| crl_openssl.conf | 1 anno fa | |
| index.txt | 1 anno fa | |
| index.txt.attr | 1 anno fa | |
| index.txt.attr.old | 1 anno fa | |
| index.txt.old | 1 anno fa | |
| root_CA1.key | 1 anno fa | |
| root_CA1.pem | 1 anno fa | |
| root_CA1.srl | 1 anno fa | |
| server_CA1_1.key | 1 anno fa | |
| server_CA1_1.pem | 1 anno fa | |
| server_CA1_1_chain.pem | 1 anno fa | |
| test.crl | 1 anno fa | |
This folder include test certificates for TLS related tests
Three different root CAs ** root_CA1 ** root_CA2 ** root_CA3
For each root CAs there are two clients and two server keys/certificates ** server_CA1_1 ** server_CA1_2 ** client_CA1_1 ** client_CA1_2 ** server_CA2_1 ** server_CA2_2 ** client_CA2_1 ** client_CA2_2 ** server_CA3_1 ** server_CA3_2 ** client_CA3_1 ** client_CA3_2
Example: Generate root CA keys and certificates:
openssl genrsa -out root_CA1.key 2048 openssl req -x509 -new -nodes -key root_CA1.key -sha256 -days 3650 -out root_CA1.pem
Example: Create endpoint (client/server) certificates:
openssl genrsa -out server_CA1_2.key 2048
openssl req -new -key server_CA1_1.key -out server_CA1_1.csr
openssl x509 -req -in server_CA1_1.csr -CA root_CA1.pem -CAkey root_CA1.key -CAcreateserial -out server_CA1_1.pem