rustls-example/certs
2024-08-07 18:58:18 +09:00
..
host Fix: Invalid Certificate 2024-08-07 18:04:14 +09:00
ica Fix: Invalid Certificate 2024-08-07 18:04:14 +09:00
rootca Fix: Invalid Certificate 2024-08-07 18:04:14 +09:00
README.md Add: Cert README 2024-08-07 18:58:18 +09:00

Test

Server

  • RootCA
    $ openssl s_server -accept 8765 -key host/server.key -cert host/server.crt -CAfile rootca/rootCA.crt
    
  • ICA
    $ openssl s_server -accept 8765 -key host/server.key -cert_chain ica/ICA.crt -cert host/server.crt -CAfile rootca/rootCA.crt
    

Client

$ openssl s_client -connect localhost:8765 -verifyCAfile rootca/rootCA.crt