add https feature and sample ssl certificate