# How do I bring my GoDaddy Certificate to Okteto

**URL:** <https://community.okteto.com/t/how-do-i-bring-my-godaddy-certificate-to-okteto/578>\
**Category:** How Do I?\
**Created:** [January 27, 2023, 11:08am UTC](https://community.okteto.com/t/how-do-i-bring-my-godaddy-certificate-to-okteto/578 "2023-01-27T11:08:53Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![mario](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/mario/32/292_2.png) [@mario](https://community.okteto.com/u/mario)\
**Post date:** [January 27, 2023, 11:08am UTC](https://community.okteto.com/t/how-do-i-bring-my-godaddy-certificate-to-okteto/578/1 "2023-01-27T11:08:53Z")

</div>

This guide is going to explain the steps if you have your DNS Domain Certificate with GoDaddy and you want to use it for Okteto.

**Get your Certificate Files**

First thing to do is to get your certificate files from GoDaddy. To do that:

- Go to [www.godaddy.com](http://www.godaddy.com) page and click `My Products`
- Then scroll down to `SSL Certificates` → `Manage`
- Download your files (You may need to click `Rekey & Manage` first)

**Now we got our files downloaded**

GoDaddy downloads 3 files:

1. Certificate itself: xxxxxx.cert
2. The intermediary bundle: gd\_bundle-xxxx.crt
3. And the private key: xxxx.key

Create file for k8s secret. The secret is going to need the concatenation of the certificate and the bundle file:

```auto
cat xx.crt gd_bundle-xxxx.cert > result.crt 

```

**Create k8s secret**

Now we add the certificate and the key to a secret:

```auto
kubectl create secret tls ${SECRET_NAME} --key xxxx.key --cert result.crt --namespace okteto

```

**Okteto Configuration**

Let’s tell **Okteto** to use our new _certificate tls secret_!

- config.yaml:

```auto
subdomain: foo.example.com
wildcardCertificate:
  create: false
  name: ${SECRET_NAME}

ingress-nginx:
  controller:
    extraArgs:
      default-ssl-certificate: okteto/${SECRET_NAME}

```

We are now ready to test our secured Dev Environment:

```auto
https://okteto.foo.example.com/

```

---

_[View the full topic](https://community.okteto.com/t/how-do-i-bring-my-godaddy-certificate-to-okteto/578)._
