Fixed error in ssl