test/configs/tlsverify.conf
raw| 1 | # Simple TLS config file |
| 2 | |
| 3 | port: 4443 |
| 4 | net: localhost |
| 5 | |
| 6 | tls { |
| 7 | cert_file: "./configs/certs/server.pem" |
| 8 | key_file: "./configs/certs/key.pem" |
| 9 | timeout: 2 |
| 10 | |
| 11 | # Optional certificate authority for clients |
| 12 | ca_file: "./configs/certs/ca.pem" |
| 13 | |
| 14 | # Require a client certificate |
| 15 | verify: true |
| 16 | } |