<p>After almost 1 year without a problem, I realized that cert-manager can't produce certificates anymore.</p>
<p>I started seeing this error:</p>
<blockquote>
<p>Error from server: conversion webhook for cert-manager.io/v1alpha2,
Kind=Certificate failed: Post
&quot;https://cert-manager-webhook.cert-manager.svc:443/convert?timeout=30s&quot;:
x509: certificate has expired or is not yet valid: current time
2021-12-05T01:02:15Z is after 2021-12-03T14:15:56Z</p>
</blockquote>
<p>I do NOT have a problem with the existing certificates/domains. But, it can't create certs for new domains.</p>
<p>Also,</p>
<pre><code>kubectl get cert
</code></pre>
<p>has the same error output.</p>
<p>What is the recommended solution?</p>

<p>I would suggest updating the version of <strong>Cert-manager</strong> you are running.</p>
<pre><code>helm install \
  cert-manager jetstack/cert-manager \
  --namespace mynamespace \
  --version v0.15.1 \
  --set installCRDs=true
</code></pre>
<p>do not forget to install the CRD.</p>
<p><code>Cert-manager</code> supports the latest two releases only which are currently <strong>1.5</strong> and <strong>1.6</strong> while <strong>1.7</strong> is an upcoming release.</p>
<p>Refer to the Release document <a href="https://cert-manager.io/docs/installation/supported-releases/" rel="nofollow noreferrer">here</a> and you can also refer to the reported <a href="https://github.com/jetstack/cert-manager/issues/2752" rel="nofollow noreferrer">issue</a> for more information.</p>
