# How to enable https in awx

**URL:** <https://forum.ansible.com/t/how-to-enable-https-in-awx/2213>\
**Category:** Get Help\
**Tags:** awx-operator, awx\
**Created:** [November 7, 2023, 5:43pm UTC](https://forum.ansible.com/t/how-to-enable-https-in-awx/2213 "2023-11-07T17:43:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alvis9515](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/alvis9515/32/1457_2.png) [@alvis9515](https://forum.ansible.com/u/alvis9515)\
**Post date:** [November 7, 2023, 5:43pm UTC](https://forum.ansible.com/t/how-to-enable-https-in-awx/2213/1 "2023-11-07T17:43:34Z")

</div>

Hello team, I have installed awx with k3s, but now I want to enable https in awx, would I like to know what steps to follow for said execution?

In awx 2.6

Regards;

---

<div class="post-metadata">

**Author:** ![kurokobo](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/kurokobo/32/182_2.png) [@kurokobo](https://forum.ansible.com/u/kurokobo)\
**Post date:** [November 8, 2023, 5:58am UTC](https://forum.ansible.com/t/how-to-enable-https-in-awx/2213/2 "2023-11-08T05:58:51Z")

</div>

To enable HTTPS for AWX, you should use Ingress with TLS configuration.

Create TLS Secret first,

> **[Secrets](https://kubernetes.io/docs/concepts/configuration/secret/#tls-secrets)**
>
> A Secret is an object that contains a small amount of sensitive data such as a password, a token, or a key. Such information might otherwise be put in a Pod specification or in a container image. Using a Secret means that you don't need to include...

then specify following three lines for AWX CR and apply it.

```yaml
---
spec:
  ...
  ingress_type: ingress
  ingress_tls_secret: <your tls secret>
  hostname: <your fqdn>
  ...

```

Refer to the AWX Operator docs for details for the specs:

> <https://github.com/ansible/awx-operator/blob/devel/docs/user-guide/network-and-tls-configuration.md>
