-
Notifications
You must be signed in to change notification settings - Fork 399
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Reporting an Issue or Missing Feature
The New-PnPAzureCertificate cmdlet is creating certificates containing the hostname of the generating computer in the SAN field.
Expected behavior
Since we don't specify any SAN data (in fact we are missing av parameter for this?). No data should be in the SAN field.
Or alternatively the same data that is put in the CommonName parameter should be put in SAN.
Actual behavior
The SAN field is containing both "localhost" and the hostname of my computer.

Steps to reproduce behavior
Generate a certificate and check the public part afterwards:
New-PnPAzureCertificate -CommonName "Testname" -OutCert .\cert.crt
What is the version of the Cmdlet module you are running?
version 2.2.0 (Running on PowerShell 7.3.8)
Which operating system/environment are you running PnP PowerShell on?
- Windows
- Linux
- MacOS
- Azure Cloud Shell
- Azure Functions
- Other : please specify
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request