Hello,
I am receiving this inside rancher-agent log file:
Exiting. Error: Get https://rancher-server/v2-beta: x509: certificate signed by unknown authority (possibly because of “x509: invalid signature: parent certificate cannot sign this kind of certificate” while trying to verify candidate authority certificate “rancher-server”)
Certificate is self-signed, with SAN extension. I am able to connect without problem from container to the rancher-server using openssl:
openssl s_client -showcerts -connect rancher-server:443 </dev/null
(Verify return code: 0 (ok))
What am I missing. Where do I have to add self signed certificate support?
BR
Lumir