added ssl template
Added SSL templates + Minor bugfixes