//[Test] public void TestGetEncodedCACertificateFromVecs() { // Act var encodedCACertificate = _ssoAdminClient.GetEncodedCACertificateFromVecs().FirstOrDefault <string>(); // Assert Assert.NotNull(encodedCACertificate); }
public void SaveVcenterCACertficates() { try { _logger.LogInformation( string.Format(Resources.PerofomingOperation, Resources.StoringCACertificates)); var encodedCerts = _ssoAdminClient.GetEncodedCACertificateFromVecs(); if (encodedCerts != null) { _configWriter.WriteTrustedCACertificates(encodedCerts); } } catch (Exception ex) { _logger.LogError(ex.ToString()); throw; } }