fix expiring x509 certificate (date mocked properly now)