Adding SSL to the main template.