more ssl support work