Can't connect agent to ssl enabled rancher

I am getting this error

ERROR: https://rancher.artellectual.com/v1 is not accessible

I already added the certificate to the rancher server and the host i want to add to rancher but nothing seems to be working

i am using https://rancher.REDACTED.com as my setting in the admin

I am using a Wildcard SSL from AlphaSSL