• Home
  • Annotate
  • current directory
Name Date Size #Lines LOC

..09-Jan-2023-

README.txt A D09-Jan-2023621 2114

ca.crt A D09-Jan-20231.2 KiB2221

ca.key A D09-Jan-20231.6 KiB2827

ca.srl A D09-Jan-202317 21

mid.conf A D09-Jan-2023316 1514

mid.crt A D09-Jan-20231.1 KiB2019

mid.csr A D09-Jan-20231 KiB1817

mid.ext A D09-Jan-202335 21

mid.key A D09-Jan-20231.7 KiB2928

mid.srl A D09-Jan-202317 21

my.conf A D09-Jan-2023277 1413

my.crt A D09-Jan-20231.1 KiB2019

my.csr A D09-Jan-2023985 1817

my.key A D09-Jan-20231.7 KiB2928

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