diff --git a/pkg/api/cert_test.go b/pkg/api/cert_test.go
index e3b934ce73fc34246067bc12227f402b403259c7..d6c8d4a79de21b56cca23027ba4ba5372455a0a7 100644
--- a/pkg/api/cert_test.go
+++ b/pkg/api/cert_test.go
@@ -55,6 +55,17 @@ func TestCertGeneration(t *testing.T) {
 				true,
 				fmt.Sprintf("private key seems to be too short %v -> %v", result, response.Key))
 
+			assert.Equal(t,
+				len(response.Cert) > len("-----BEGIN CERTIFICATE-----\n-----END CERTIFICATE-----\n"),
+				true,
+				fmt.Sprintf("VPN certificate seems to be too short %v -> %v", result, response.Key))
+
+			assert.Equal(t,
+				len(response.CA) > len("-----BEGIN CERTIFICATE-----\n-----END CERTIFICATE-----\n"),
+				true,
+				fmt.Sprintf("Root CA cert seems to be too short %v -> %v", result, response.Key))
+			t.Logf("CA: %s", response.CA)
+
 		})
 	}