When you enable the certificate validation (as you should), it's going to be difficult to see what exactly goes wrong in case your certificate is not accepted.
This is especially the case if you use the Ansible collection.
At the moment , you just get an error "HTTP Return code: 502" - which is not very helpful.
Problems you may encounter , that may not be verify clear are for instance:
certificate is not valid when you connect using an ip adress instead of the hostname
When you enable the certificate validation (as you should), it's going to be difficult to see what exactly goes wrong in case your certificate is not accepted. This is especially the case if you use the Ansible collection.
At the moment , you just get an error "HTTP Return code: 502" - which is not very helpful.
Problems you may encounter , that may not be verify clear are for instance: