I run in this error by run Install-SitecoreConfiguration -Path createcert.json
.
The json file is from the xp0 package and it contains no parameter DnsName
. I just found a variable like this:
"Variables": {
"Root.Cert.DnsName": "[concat('DO_NOT_TRUST_', parameter('RootCertFileName'))]"
The error:
Install-SitecoreConfiguration : Cannot validate argument on parameter 'DnsName'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again. At C:\ops\int\SIF\install.ps1:10 char:1 + Install-SitecoreConfiguration @createcert + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~