fix ssl security