You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
3 years ago | |
---|---|---|
.. | ||
README.txt | 3 years ago | |
ca.crt | 3 years ago | |
ca.key | 3 years ago | |
ca.srl | 3 years ago | |
mid.conf | 3 years ago | |
mid.crt | 3 years ago | |
mid.csr | 3 years ago | |
mid.ext | 3 years ago | |
mid.key | 3 years ago | |
mid.srl | 3 years ago | |
my.conf | 3 years ago | |
my.crt | 3 years ago | |
my.csr | 3 years ago | |
my.key | 3 years ago |
README.txt
This is a Test Ceritificate Authority, only to be used for testing. #Root private key openssl genrsa -out ca.key 2048 #Root certificate openssl req -new -x509 -key ca.key -out ca.crt -days 10000 -batch #Mid CSR and key openssl req -new -out mid.csr -config mid.conf #Sign mid.crt openssl x509 -req -in mid.csr -extfile mid.ext -CA ca.crt -CAkey ca.key -CAcreateserial -out mid.crt -days 10000 #My CSR and key openssl req -new -out my.csr -config my.conf # View it with: openssl req -in my.csr -noout -text #Sign my.crt openssl x509 -req -in my.csr -CA mid.crt -CAkey mid.key -CAcreateserial -out my.crt -days 10000