set correct ssl version