hack to allow using private registries with private DNS and self-signed SSL cert