Use vars instead of multiple ssh cert file strings

1. Use path.normalize() to for more portable filename strings
2. Assign ssl certificate filename strings to variables and use the variables, eliminating the same filename strings being used multiple times.