19 lines
431 B
Markdown
19 lines
431 B
Markdown
# 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
|
|
```
|