fix ssl
Please enter the commit message for your changes. Lines starting

Change-Id: I6619d8d47e4cd0305f8002b257271517edb5cc7f
Reviewed-on: http://review.couchbase.org/43968
Reviewed-by: Xiaomei Zhang <xiaomeizhangatwork@gmail.com>
Tested-by: Yu Sui <ysui68@gmail.com>