Fixing SSL keys including template