get.pme.sh/pnats@v0.0.0-20240304004023-26bb5a137ed0/test/configs/tlsverify_noca.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    # Require a client certificate
    13    verify:    true
    14    # Omit the client CA, this is to verify that
    15    # the server is really trying to verify the
    16    # client certificate.
    17  }