Excel REST Odata retrieve could not establish trust relationship

I am getting the same error and trying to troubleshoot the problem. In the documentation it says you need SSL on the server could this be my problem?

image

Thanks