{"action":"created","issue":{"url":"https://api.github.com/repos/Crypt32/PSPKI/issues/25","repository_url":"https://api.github.com/repos/Crypt32/PSPKI","labels_url":"https://api.github.com/repos/Crypt32/PSPKI/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/Crypt32/PSPKI/issues/25/comments","events_url":"https://api.github.com/repos/Crypt32/PSPKI/issues/25/events","html_url":"https://github.com/Crypt32/PSPKI/issues/25","id":296175932,"number":25,"title":"Get-CertificationAuthority 0x800706ba (WIN32: 1722 RPC_S_SERVER_UNAVAILABLE)","user":{"login":"bhushank007","id":36361847,"avatar_url":"https://avatars1.githubusercontent.com/u/36361847?v=4","gravatar_id":"","url":"https://api.github.com/users/bhushank007","html_url":"https://github.com/bhushank007","followers_url":"https://api.github.com/users/bhushank007/followers","following_url":"https://api.github.com/users/bhushank007/following{/other_user}","gists_url":"https://api.github.com/users/bhushank007/gists{/gist_id}","starred_url":"https://api.github.com/users/bhushank007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhushank007/subscriptions","organizations_url":"https://api.github.com/users/bhushank007/orgs","repos_url":"https://api.github.com/users/bhushank007/repos","events_url":"https://api.github.com/users/bhushank007/events{/privacy}","received_events_url":"https://api.github.com/users/bhushank007/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-11T09:34:52Z","updated_at":"2018-02-12T04:42:44Z","closed_at":null,"author_association":"NONE","body":"Hi\r\n\r\nWe 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. \r\n\r\nException calling \"EnumEnterpriseCAs\" with \"2\" argument(s): \"CCertAdmin::GetCAProperty: The RPC server is unavailable.\r\n0x800706ba (WIN32: 1722 RPC_S_SERVER_UNAVAILABLE)\"\r\nAt C:\\Program Files\\WindowsPowerShell\\Modules\\PSPKI\\Server\\Get-CertificationAuthority.ps1:14 char:20\r\n+ ... mputerSet\" {[PKI.CertificateServices.CertificateAuthority]::EnumEnter ...\r\n+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException\r\n    + FullyQualifiedErrorId : COMException\r\n\r\nPS C:\\> $error[0].exception.InnerException.StackTrace\r\n   at CERTADMINLib.CCertAdminClass.GetCAProperty(String strConfig, Int32 PropId, Int32 PropIndex, Int32 PropType, Int32\r\nFlags)\r\n   at PKI.CertificateServices.CertificateAuthority.getCaProperty()\r\n   at PKI.CertificateServices.CertificateAuthority.initialize()\r\n   at PKI.CertificateServices.CertificateAuthority.initializeFromConfigString(String computerName, String name)\r\n   at PKI.CertificateServices.CertificateAuthority..ctor(String computerName, String name)\r\n   at PKI.CertificateServices.CertificateAuthority.EnumEnterpriseCAs(String findType, String findValue)\r\n   at CallSite.Target(Closure , CallSite , Type , String , String )"},"comment":{"url":"https://api.github.com/repos/Crypt32/PSPKI/issues/comments/364828023","html_url":"https://github.com/Crypt32/PSPKI/issues/25#issuecomment-364828023","issue_url":"https://api.github.com/repos/Crypt32/PSPKI/issues/25","id":364828023,"user":{"login":"bhushank007","id":36361847,"avatar_url":"https://avatars1.githubusercontent.com/u/36361847?v=4","gravatar_id":"","url":"https://api.github.com/users/bhushank007","html_url":"https://github.com/bhushank007","followers_url":"https://api.github.com/users/bhushank007/followers","following_url":"https://api.github.com/users/bhushank007/following{/other_user}","gists_url":"https://api.github.com/users/bhushank007/gists{/gist_id}","starred_url":"https://api.github.com/users/bhushank007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhushank007/subscriptions","organizations_url":"https://api.github.com/users/bhushank007/orgs","repos_url":"https://api.github.com/users/bhushank007/repos","events_url":"https://api.github.com/users/bhushank007/events{/privacy}","received_events_url":"https://api.github.com/users/bhushank007/received_events","type":"User","site_admin":false},"created_at":"2018-02-12T04:42:44Z","updated_at":"2018-02-12T04:42:44Z","author_association":"NONE","body":"Please refer below :-\r\n\r\nPS C:\\> certutil -ping cb-cvp-ica.cbq.com.qa\r\nConnecting to cb-cvp-ica.cbq.com.qa ...\r\nServer \"CBISSUE-CA\" ICertRequest2 interface is alive (47ms)\r\nCertUtil: -ping command completed successfully.\r\n\r\nPS C:\\> Import-Module PSPKI\r\nPS C:\\> Get-CertificationAuthority -ComputerName cb-cvp-ica.cbq.com.qa\r\nException calling \"EnumEnterpriseCAs\" with \"2\" argument(s): \"CCertAdmin::GetCAProperty: The RPC server is unavailable.\r\n0x800706ba (WIN32: 1722 RPC_S_SERVER_UNAVAILABLE)\"\r\nAt C:\\Program Files\\WindowsPowerShell\\Modules\\PSPKI\\Server\\Get-CertificationAuthority.ps1:14 char:20\r\n+ ... mputerSet\" {[PKI.CertificateServices.CertificateAuthority]::EnumEnter ...\r\n+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException\r\n    + FullyQualifiedErrorId : COMException\r\n\r\nPlease help.\r\n\r\nRegards,\r\nBhushan"}}
{"actor":{"display_login":"bhushank007"}}