[ConnectionError]: unable to verify the first certificate

I was actually simply not putting the CA certificate into the certificate file of the machine.