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

Install-PfxCertificate

This PowerShell cmdlet installs a certificate from a .pfx, .crt, or .cer file into the certificate store. If the file is a .pfx, the private key is installed with the certificate. By default, the cmdlet installs the certificate in the Root store of the CurrentUser location. This cmdlet is commonly used to deploy certificates for NCache TLS/SSL configuration.

Note

This cmdlet is available on Linux only.

Install-PfxCertificate -FilePath [-Password] \
                       [-StoreName] [-StoreLocation] \
                       [-NoLogo]

Examples

  • This cmdlet installs the .pfx certificate, together with its private key, in the Root store of the CurrentUser location. These are the default store settings.
Install-PfxCertificate -FilePath "/path/to/mycert.pfx" -Password "pass123"
  • This cmdlet installs a certificate from a .cer file in the My store of the LocalMachine location.
Install-PfxCertificate -FilePath "/path/to/rootca.cer" -StoreName My -StoreLocation LocalMachine

Properties

Note

The parameter with an asterisk (*) in its name is required, and the remaining parameters are optional.

Parameters Data Types Description Default Value
-FilePath* <String> Specifies the path to the certificate file. Supported file types are .pfx, .crt, and .cer. -
-Password <String> Specifies the password for the .pfx file. This parameter is required when the file is password-protected. -
-StoreName <String> Specifies the target certificate store. Valid values are My and Root. Root
-StoreLocation <String> Specifies the certificate store location. Valid values are CurrentUser and LocalMachine. CurrentUser
-NoLogo <SwitchParameter> Suppresses the display of the logo banner. False

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