Fix ssl validation skipping