script to get ssl header