1
Vote

get-certificationAuthority (error)

description

HI,

We are using a ADCS failover cluster, with only one server being active at a time. I am getting an error when trying to run the command get-certificaitonAuthority i get the following error: I can confirm the RPC service is running and certutil command line is working fine. I have a different system a single enterprise CA in another environment and PSPKI module works fine on that one. Could you please help me resolve this issue.


PSMessageDetails      :
Exception             : System.Management.Automation.MethodInvocationException: Exception calling "EnumEnterpriseCAs"
                        with "2" argument(s): "CCertAdmin::GetCAProperty: The RPC server is unavailable. 0x800706ba
                        (WIN32: 1722 RPC_S_SERVER_UNAVAILABLE)" ---> System.Runtime.InteropServices.COMException:
                        CCertAdmin::GetCAProperty: The RPC server is unavailable. 0x800706ba (WIN32: 1722
                        RPC_S_SERVER_UNAVAILABLE)
                           at CERTADMINLib.CCertAdminClass.GetCAProperty(String strConfig, Int32 PropId, Int32
                        PropIndex, Int32 PropType, Int32 Flags)
                           at PKI.CertificateServices.CertificateAuthority.getCaProperty()
                           at PKI.CertificateServices.CertificateAuthority.initialize()
                           at PKI.CertificateServices.CertificateAuthority.initializeFromConfigString(String
                        computerName, String name)
                           at PKI.CertificateServices.CertificateAuthority..ctor(String computerName, String name)
                           at PKI.CertificateServices.CertificateAuthority.EnumEnterpriseCAs(String findType, String
                        findValue)
                           at CallSite.Target(Closure , CallSite , RuntimeType , String , String )
                           --- End of inner exception stack trace ---
                           at
                        System.Management.Automation.ExceptionHandlingOps.ConvertToMethodInvocationException(Exception
                        exception, Type typeToThrow, String methodName, Int32 numArgs, MemberInfo memberInfo)
                           at CallSite.Target(Closure , CallSite , RuntimeType , String , String )
                           at System.Management.Automation.Interpreter.DynamicInstruction`4.Run(InterpretedFrame frame)
                           at
                        System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame
                        frame)
TargetObject          :
CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
FullyQualifiedErrorId : COMException
ErrorDetails          :
InvocationInfo        : System.Management.Automation.InvocationInfo
ScriptStackTrace      : at Get-CertificationAuthority, C:\Users\685461-Admin\Documents\WindowsPowerShell\Modules\PSPKI\
                        Server\Get-CertificationAuthority.ps1: line 14
                        at <ScriptBlock>, <No file>: line 1
PipelineIterationInfo : {}

comments

Camelot wrote Feb 22 at 2:55 PM

Apparently, the issue is caused due to cluster. Can you contact me via email to get more details and try to investigate the issue deeper?