Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 09-Jan-2023 | - | ||||
README.txt | A D | 09-Jan-2023 | 621 | 21 | 14 | |
ca.crt | A D | 09-Jan-2023 | 1.2 KiB | 22 | 21 | |
ca.key | A D | 09-Jan-2023 | 1.6 KiB | 28 | 27 | |
ca.srl | A D | 09-Jan-2023 | 17 | 2 | 1 | |
mid.conf | A D | 09-Jan-2023 | 316 | 15 | 14 | |
mid.crt | A D | 09-Jan-2023 | 1.1 KiB | 20 | 19 | |
mid.csr | A D | 09-Jan-2023 | 1 KiB | 18 | 17 | |
mid.ext | A D | 09-Jan-2023 | 35 | 2 | 1 | |
mid.key | A D | 09-Jan-2023 | 1.7 KiB | 29 | 28 | |
mid.srl | A D | 09-Jan-2023 | 17 | 2 | 1 | |
my.conf | A D | 09-Jan-2023 | 277 | 14 | 13 | |
my.crt | A D | 09-Jan-2023 | 1.1 KiB | 20 | 19 | |
my.csr | A D | 09-Jan-2023 | 985 | 18 | 17 | |
my.key | A D | 09-Jan-2023 | 1.7 KiB | 29 | 28 |
README.txt
1This is a Test Ceritificate Authority, only to be used for testing. 2 3#Root private key 4openssl genrsa -out ca.key 2048 5 6#Root certificate 7openssl req -new -x509 -key ca.key -out ca.crt -days 10000 -batch 8 9#Mid CSR and key 10openssl req -new -out mid.csr -config mid.conf 11 12#Sign mid.crt 13openssl x509 -req -in mid.csr -extfile mid.ext -CA ca.crt -CAkey ca.key -CAcreateserial -out mid.crt -days 10000 14 15#My CSR and key 16openssl req -new -out my.csr -config my.conf 17# View it with: openssl req -in my.csr -noout -text 18 19#Sign my.crt 20openssl x509 -req -in my.csr -CA mid.crt -CAkey mid.key -CAcreateserial -out my.crt -days 10000 21