IMPORTANT ANNOUNCEMENT: On May 6, 2024, Carbon Black User eXchange (UeX) and Case Management will move to a new platform!
The Community will be in read-only mode starting April 19th, 7:00 AM PDT. Check out the blog post!
You will still be able to use the case portal to create and interact with your support cases until the transition, view more information here!

App Control: How to Generate an IIS Self Signed Certificate in Powershell

App Control: How to Generate an IIS Self Signed Certificate in Powershell

Environment

  • App Control Server: All Versions
  • Microsoft Windows: All Supported Versions With Powershell

Objective

How to generate a self signed certificate using powershell

Resolution

  1. Open Powershell as an administrator
  2. Run the following command, replacing SERVERNAME with the DNS name needed (for either the site or agent connection)
    New-SelfSignedCertificate -DnsName SERVERNAME -KeyExportPolicy ExportableEncrypted -CertStoreLocation cert:Localmachine\My 
  3. Check that the local certificates in MMC.exe is created successfully 

Additional Notes

A self signed certificate is less secure than one verifiable by a third party. Please keep this in mind when deciding if a self signed certificate is required. 

Related Content


Labels (1)
Tags (2)
Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎10-27-2020
Views:
533
Contributors