CertificateImport: add support for certificates import via HTTP(S) #216
Labels
enhancement
The issue is an enhancement request.
help wanted
The issue is up for grabs for anyone in the community.
needs investigation
The issue needs to be investigated by the maintainers or/and the community.
Details of the scenario you tried and the problem that is occurring
Currently, the ImportCertificate only supports import of certificates with file shares.
However, for standalone computers this becomes complicated because you have to first create a share mapping which involves also the usage of credential.
Verbose logs showing the problem
PowerShell DSC resource MSFT_CertificateImport failed to execute Set-TargetResource functionality with error message: Certificate Pfx file 'https://FileServer/DscFileRepository/Certificates/certificate.crt' not found. (CI0006)
Suggested solution to the issue
The HTTP(S) download is already implemented in the File resource.
We could do the same by importing certificates downloaded via HTTP(S)
The DSC configuration that is used to reproduce the issue (as detailed as possible)
Datum configuration:
The operating system the target node is running
Version and build of PowerShell the target node is running
Version of the DSC module that was used ('dev' if using current dev branch)
The text was updated successfully, but these errors were encountered: