ssl support modified with on, off switch