# Cert-manager - creating cert fails

**URL:** <https://discuss.kubernetes.io/t/cert-manager-creating-cert-fails/10747>\
**Category:** General Discussions\
**Created:** [May 4, 2020, 5:00am UTC](https://discuss.kubernetes.io/t/cert-manager-creating-cert-fails/10747 "2020-05-04T05:00:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohammad.K](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/mohammad.k/32/3111_2.png) [@Mohammad.K](https://discuss.kubernetes.io/u/Mohammad.K)\
**Post date:** [May 4, 2020, 5:00am UTC](https://discuss.kubernetes.io/t/cert-manager-creating-cert-fails/10747/1 "2020-05-04T05:00:15Z")

</div>

### Cluster information:

Kubernetes version: 1.18.0  
Cloud being used: bare-metal  
Installation method: kubespray  
Host OS: CentOS 7  
CNI and version: Flannel 0.3.1  
CRI and version: Docker 19.03

Hi. I’m trying to install an nginx deployment and activate a certificate for it.  
So I’m having an nginx deployment, an nginx-ingress controller and a cert-manager which I’ve installed on K8s. When I’m trying to create a certificate (either selfsigned or from Lets-Encrypt), it fails. Have anyone ever done that? Can you give me a hint?

P.S: The error is like this:

`Error from server (InternalError): error when creating "staging_issuer.yaml": Internal error occurred: failed calling webhook "webhook.cert-manager.io": Post https://cert-manager-webhook.cert-manager.svc:443/mutate?timeout=30s: context deadline exceeded`
