fix ssl request