feat(GODT-2374): Import TLS certs via shell

This commit is contained in:
James Houlahan
2023-02-17 14:02:39 +01:00
parent cac0cf35f6
commit 54c013012e
8 changed files with 104 additions and 13 deletions

View File

@ -28,8 +28,9 @@ func TestVault_TLSCerts(t *testing.T) {
s := newVault(t)
// Check the default bridge TLS certs.
require.NotEmpty(t, s.GetBridgeTLSCert())
require.NotEmpty(t, s.GetBridgeTLSKey())
cert, key := s.GetBridgeTLSCert()
require.NotEmpty(t, cert)
require.NotEmpty(t, key)
// Check the certificates are not installed.
require.False(t, s.GetCertsInstalled())