Add: Cert README
This commit is contained in:
parent
a4382a1d6c
commit
8ae22424d4
18
certs/README.md
Normal file
18
certs/README.md
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# Test
|
||||||
|
|
||||||
|
## Server
|
||||||
|
|
||||||
|
- RootCA
|
||||||
|
```bash
|
||||||
|
$ openssl s_server -accept 8765 -key host/server.key -cert host/server.crt -CAfile rootca/rootCA.crt
|
||||||
|
```
|
||||||
|
- ICA
|
||||||
|
```bash
|
||||||
|
$ openssl s_server -accept 8765 -key host/server.key -cert_chain ica/ICA.crt -cert host/server.crt -CAfile rootca/rootCA.crt
|
||||||
|
```
|
||||||
|
|
||||||
|
## Client
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ openssl s_client -connect localhost:8765 -verifyCAfile rootca/rootCA.crt
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user