SckyzO / awx-ha-cluster

Ansible scripts to deploy AWX HA Cluster
1 stars 1 forks source link

Issue with https invalid cert #5

Open avishekansible opened 3 years ago

avishekansible commented 3 years ago

I have done some cjhanges in my code. Added below in base setup:-

name: Enable epel for pip install yum: name: epel-release state: present register: dcos_yum_epel_install retries: 3 delay: 60 until: dcos_yum_epel_install is success

Then also changed awx_version: "latest" in vars as 15.1.0 does not exist.

Now 3 of my AWX instances are up but the problem I am facing if I access it through https:// it says invalid certificate(Not secure). Can you please help me with that I am new to ansible and linux.?

And also I have seen that for the load balancer you have mentioned something like Traefik that also in some folder .

SckyzO commented 3 years ago

Hi,

Yes to use AWX Cluster, you need to be behind a proxy web server like Traefik or Nginx. It is this web serveur proxy which will host SSL certificate. You need to add an official certificate entry if don't want an error like "invalid certificate" ( enterprise pki or let's encrypt). Here, I use SSL only for secure communication between nodes in cluster.

For my own use, i use let's encrypt