Can't connect agent to ssl enabled rancher

I am getting this error

ERROR: 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 as my setting in the admin

I am using a Wildcard SSL from AlphaSSL