The necessary conditions for stability of the spatial periodic solutions in the problem of the rotation of a satellite with a triaxial ellipsoid of inertia about the triangular libration point of the restricted elliptical three-body problem are studied.