patch added so ssl creation works