openshift-labs / starter-guides

Getting Started with OpenShift for Developers workshop
https://openshift-labs.github.io/starter-guides-html/
Apache License 2.0
136 stars 147 forks source link

APB fails when using lets encrypt #146

Closed gnunn1 closed 3 years ago

gnunn1 commented 4 years ago

I'm trying to install the workshop on a personal 3.11 cluster in AWS that uses certificates from lets encrypt, when the apb pod executes it fails with a certificate issue as follows:

TASK [login as super user with pwd] ********************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "oc login -u admin -p XXXXX --insecure-skip-tls-verify=true", "delta": "0:00:00.600352", "end": "2019-07-16 16:16:50.226732", "msg": "non-zero return code", "rc": 1, "start": "2019-07-16 16:16:49.626380", "stderr": "error: x509: certificate signed by unknown authority", "stderr_lines": ["error: x509: certificate signed by unknown authority"], "stdout": "", "stdout_lines": []}

I can see the command should be skipping the certificate check so I'm not sure why it is failing here?