Revert "SSL changes"

This reverts commit 1263ee656576c3048593ec7737c50ee82c0abe32.