Connect-CA
$error[0].Exception.InnerException.StackTrace
New-Object : Exception calling ".ctor" with "1" argument(s): "There is no such object on the server.
"
At C:\windows\system32\windowspowershell\v1.0\Modules\PSPKI\Server\Connect-CertificationAuthority.ps1:13 char:4
+ New-Object PKI.CertificateServices.CertificateAuthority $CName
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [New-Object], MethodInvocationException
+ FullyQualifiedErrorId : ConstructorInvokedThrowException,Microsoft.PowerShell.Commands.NewObjectCommand
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_AdsObject()
at System.DirectoryServices.PropertyValueCollection.PopulateList()
at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
at PKI.CertificateServices.CertificateAuthority.get_ds()
at PKI.CertificateServices.CertificateAuthority..ctor(String computerName)↧
New Post: Cannot convert value "ca.example.com" to type "PKI.CertificateServices.CertificateAuthority"
↧