如何将节点加入群集?

时间:2016-12-01 14:23:25

标签: elixir

我有两个节点启动并运行,我尝试SecureString varSecureString = new SecureString(); string password = sPassword; char[] secpwd = password.ToCharArray(); for (int i = 0; i < secpwd.Length; i++) { varSecureString.AppendChar(secpwd[i]); } CspParameters csp = new CspParameters(1, "Trust Key CSP V1.0", "Trust Key CSP V1.0", strUSBProviderName, new System.Security.AccessControl.CryptoKeySecurity(), varSecureString); csp.Flags = CspProviderFlags.UseDefaultKeyContainer; RSACryptoServiceProvider rsaProvider = new RSACryptoServiceProvider(csp); string pubKeyXml = rsaProvider.ToXmlString(false); X509Store x509Store = new X509Store(StoreName.My, StoreLocation.CurrentUser); x509Store.Open(OpenFlags.ReadOnly | OpenFlags.OpenExistingOnly); foreach (X509Certificate2 cert in x509Store.Certificates) { X509Store store = new X509Store(StoreLocation.CurrentUser); store.Open(OpenFlags.ReadOnly); if (cert.Subject.Contains(strCertName) && cert.SerialNumber.Contains(strCertSerialNo)) { File.WriteAllBytes(sFile.Substring(0, sFile.Trim().LastIndexOf(".") + 1) + "sig", rsaProvider.SignData(File.ReadAllBytes(sFile), "SHA1")); } } x509Store.Close(); 连接到另一个节点,当我尝试连接到这样的节点时:

remote_console

我收到此错误:

Node.connect :api@ip-10-0-19-179.eu-central-1.compute.internal

有什么想法吗?

0 个答案:

没有答案