test/configs/tls.conf
raw| 1 | # Simple TLS config file |
| 2 | |
| 3 | listen: 127.0.0.1:5443 |
| 4 | |
| 5 | https: 11522 |
| 6 | |
| 7 | tls { |
| 8 | # Server cert |
| 9 | cert_file: "./configs/certs/server-cert.pem" |
| 10 | # Server private key |
| 11 | key_file: "./configs/certs/server-key.pem" |
| 12 | # Specified time for handshake to complete |
| 13 | timeout: 2 |
| 14 | } |
| 15 | |
| 16 | authorization { |
| 17 | user: derek |
| 18 | password: monkey |
| 19 | timeout: 1 |
| 20 | } |