Prepare to migrate to openssl for ubuntu