• Facebook
  • Twitter
  • Youtube
  • LinedIn
  • RSS
  • Docs
  • Comparisons
  • Blogs
  • Download
  • Contact Us
Download
Show / Hide Table of Contents

TLS Config (tls.ncconf)

NCache stores TLS configuration settings in the tls.ncconf file. The file specifies whether TLS and mutual TLS are enabled, the path and password of a custom certificate when one is used, and the TLS protocol version.

The tls.ncconf file is located at:

  • Windows: C:\Program Files\NCache\config\tls.ncconf
  • Linux: /opt/ncache/config/tls.ncconf
Note

If NCache is installed at a custom location, the config directory is available under the corresponding NCache installation directory.

TLS Config Syntax

The following example shows tls.ncconf with TLS enabled, mutual TLS disabled, an NCache-provided certificate, and TLS 1.2 configured:

<tls-info>
  <enable>true</enable>
  <use-mutual-tls>false</use-mutual-tls>
  <custom-certificate-path></custom-certificate-path>
  <protocol-version>tls12</protocol-version>
  <password></password>
</tls-info>

Understanding the TLS Config Tags

The tls.ncconf file contains the following elements:

  • enable: Specifies whether TLS is enabled. Set this value to true to enable TLS or false to disable it.

  • use-mutual-tls: Specifies whether connecting clients must present a valid client certificate for mutual TLS. Set this value to true to require client certificate authentication or false to use standard TLS.

  • custom-certificate-path: Specifies the absolute path of the custom PEM certificate used by NCache. The PEM file must contain the private key, leaf certificate, and any Intermediate certificates in that order. Leave this element empty when using an NCache-provided certificate.

  • protocol-version: Specifies the TLS protocol version. Supported values are:

    • tls12 for TLS 1.2
    • tls13 for TLS 1.3
    • auto to allow the operating system to negotiate the highest mutually supported TLS version
  • password: Specifies the password for the private key in the custom PEM certificate, if the private key is password-protected. Leave this element empty if no password is required.

See Also

TLS Encryption
Configure TLS Encryption in Windows and Linux
Enable-NCacheTLS
Disable-NCacheTLS

Contact Us

PHONE

+1 214-619-2601   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
© Copyright Alachisoft 2002 - . All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top