An SSL Cert is for a Domain name only. What dir. a script is located in or what URL you want to use makes no difference.

With regard to Zen Cart, once you setup the two config files to use correct paths, you should not have a problem.