public long getCertificateExpirationDateEpoch() {
        var cert = cert(caCertSecret, CA_CRT);
        if (cert == null) {
            throw new RuntimeException(CA_CRT + " does not exist in the secret " + caCertSecret);
        }
        return cert.getNotAfter().getTime();
    }
@Test
    @DisplayName("Should raise RuntimeException when certificate is not present")
    void shouldReturnZeroWhenCertificateNotPresent() {
        Exception exception = assertThrows(RuntimeException.class, () -> ca.getCertificateExpirationDateEpoch());
        assertEquals("ca.crt does not exist in the secret null", exception.getMessage());
    }