Rancher + Private Registry on Ubuntu 14.04

Hi, i am working in a project that evolves Rancher and a Private Docker Registry in a local network.

The Private Docker Registry is hosted in an Ubuntu 14.04 machine(i followed this tutorial: https://www.digitalocean.com/community/tutorials/how-to-set-up-a-private-docker-registry-on-ubuntu-14-04#step-8-—-starting-docker-registry-as-a-service) and is working with SSL(Basically, the client computer needs to register the certificate in " /usr/local/share/ca-certificates/docker-dev-cert/devdockerCA.crt" from the Private Docker Registry, give “docker login https://domain.com” and insert the username and the password).

But, i am having trouble with Racher because i don’t know where do i insert the certificate.

ps: i already registered the certificate in Infraestructure > Certificates and the registry in Infraestructure > Registries and when i try to create a container, this error appears:

Error response from daemon: Get https://mydomain.com/v1/users/: x509: certificate is valid for ion-torrent-server, not mydomain.com

Thanks for the help!