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

..18-Mar-2022-

README.txt A D18-Mar-2022621 2114

ca.crt A D18-Mar-20221.2 KiB2221

ca.key A D18-Mar-20221.6 KiB2827

ca.srl A D18-Mar-202217 21

mid.conf A D18-Mar-2022316 1514

mid.crt A D18-Mar-20221.1 KiB2019

mid.csr A D18-Mar-20221 KiB1817

mid.ext A D18-Mar-202235 21

mid.key A D18-Mar-20221.7 KiB2928

mid.srl A D18-Mar-202217 21

my.conf A D18-Mar-2022277 1413

my.crt A D18-Mar-20221.1 KiB2019

my.csr A D18-Mar-2022985 1817

my.key A D18-Mar-20221.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