There is a trick that is supposed to work but I have never tried it-take a ripe banana or two into the greenhouse it gives of ethylene gas that ripens the tomatoes-I do find if one tomato ripens the rest soon follow.
Other than that -remove a few leaves to let more light and air around the plants-they will ripen- probably sooner than you think.