get.pme.sh/pnats@v0.0.0-20240304004023-26bb5a137ed0/test/configs/tlsverify.conf (about) 1 # Simple TLS config file 2 3 listen: 127.0.0.1:5443 4 5 tls { 6 # Server cert 7 cert_file: "./configs/certs/server-cert.pem" 8 # Server private key 9 key_file: "./configs/certs/server-key.pem" 10 # Specified time for handshake to complete 11 timeout: 2 12 # Optional certificate authority for clients 13 ca_file: "./configs/certs/ca.pem" 14 # Require a client certificate 15 verify: true 16 }