• Facebook
  • Twitter
  • Youtube
  • LinkedIn
  • RSS
  • Docs
  • Comparisons
  • Blogs
  • Try NCache
  • Contact Us
Try NCache
Show / Hide Table of Contents

Register-NCache

The Register-NCache PowerShell cmdlet registers an NCache installation for free evaluation. It also supports extending the evaluation period on machines without internet access using an authorization code provided by NCache Support. For Docker containers and cloud images, you can specify whether the installation is registered as a Server, Client, or Developer. The cmdlet supports client certificate authentication when connecting to a server configured for mutual TLS (mTLS).

Note

To register NCache Open Source, use the Register-NCacheOpenSource cmdlet.

Register-NCache [-Key] [-OfflineAuthCode] `
                [-Server] [-Port] `
                [-TlsCertPath] [-TlsCertPassword]`
                [-NoLogo]

Examples

  • This command registers NCache for free evaluation using the installation key.
Register-NCache -Key xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  • This command extends the NCache evaluation period on a machine without internet access using the Evaluation Extension Authorization Code provided by NCache Support. Replace the placeholder with the supplied code.
Register-NCache -Key xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -OfflineAuthCode "xxxxxxxxxxxxxxxxxxxxx"
  • This command registers NCache for free evaluation from a machine where NCache is not installed, connecting to a server with mutual TLS (mTLS) enabled. The client certificate authenticates the machine running the cmdlet, and the password decrypts the private key. Omit -TlsCertPassword if the private key is not encrypted.
Register-NCache -Key xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx `
                -TlsCertPath "C:\certs\client.pem" `
                -TlsCertPassword "clientKeyPassword"

Properties

Parameters Data Types Description Default Value
-Key <String> Specifies the installation key received from Alachisoft. -
-OfflineAuthCode <String> Specifies the Evaluation Extension Authorization Code provided by NCache Support to extend evaluation on a machine without internet access. Use it together with the original installation key. -
-Server <String> Specifies the IP address of the local machine configured for the NCache Service. Use this parameter when the machine has multiple network interfaces. Only a local machine IP address is accepted. Local machine
-Port <Long> Specifies the port used to contact the NCache Service. -
-TlsCertPath <String> Specifies the path to the client PEM certificate used to authenticate this cmdlet when the target NCache server requires Mutual TLS. This parameter is required for Mutual TLS connections even when the cmdlet runs on an NCache server. The PEM file must contain the private key, leaf certificate, and any intermediate certificates. Relative paths are resolved against the current PowerShell location, and the file must exist. You can generate a client certificate using New-NCacheTlsCertificate. -
-TlsCertPassword <String> Specifies the password used to decrypt the encrypted private key in the PEM file supplied through -TlsCertPath. It is required only for password-protected private keys and is not saved in the NCache server configuration. -
-NoLogo <SwitchParameter> Suppresses display of the logo banner. False
Note

To configure the certificate presented by the server, use -CustomCertificatePath with the applicable TLS configuration command. It is not a parameter of Register-NCache.

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
Try NCache
Pricing
NCache Playground

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

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Terms of Use
  •  
  • Privacy Policy
  •  
  • Cookie Policy
© Copyright Alachisoft 2002 - . All rights reserved. NCache is a registered trademark of Diyatech Corp.
  • Facebook
  • Twitter
  • Youtube
  • LinkedIn
  • RSS