]> arthur.barton.de Git - ngircd.git/blobdiff - doc/sample-ngircd.conf.tmpl
Support for server certificate validation on server links [S2S-TLS]
[ngircd.git] / doc / sample-ngircd.conf.tmpl
index d59b139b17e7967f83d1247763775dd2a6030ba2..5f9cb9eb2a40ae8e36715f5967b4f295d490118f 100644 (file)
        # is only available when ngIRCd is compiled with support for SSL!
        # So don't forget to remove the ";" above if this is the case ...
 
+       # SSL Trusted CA Certificates File (for verifying peer certificates)
+       ;CAFile = /etc/ssl/CA/cacert.pem
+
+       # Certificate Revocation File (for marking otherwise valid
+       # certficates as invalid)
+       ;CRLFile = /etc/ssl/CA/crl.pem
+
        # SSL Server Key Certificate
        ;CertFile = :ETCDIR:/ssl/server-cert.pem
 
        # Connect to the remote server using TLS/SSL (Default: false)
        ;SSLConnect = yes
 
+       # Verify the TLS certificate presented by the remote server
+       # (Default: yes)
+       ;SSLVerify = yes
+
        # Define a (case insensitive) list of masks matching nicknames that
        # should be treated as IRC services when introduced via this remote
        # server, separated by commas (",").