Revert "turn on force ssl"

This reverts commit 5588f64dd14e3471632df8e1934e037bb8e68e74.
Revert "Revert "turn on force ssl""

This reverts commit 65b7e52785817bde8736be7836474e0fbf67a982.
fix bugs