Heat oven to 400ºF. Combine salt, coriander and black pepper. Rub all over tenderloin and let sit for a few minutes.
Heat oil in an oven-proof skillet over medium-high heat. Add tenderloin and cook, turning occasionally, until golden brown all over, about 8 minutes total. Add shallots and stir to coat with any oil in the pan. Transfer pan to the oven and cook until the internal temperature of the pork is 130ºF. Remove from oven, being careful of the hot pan handle. Transfer tenderloin to a cutting board and tent with foil.
Meanwhile over medium heat, add the chicken broth, apricot jam and rosemary to the shallots. Simmer until shallots are soft and mixture is saucy, 4 to 6 minutes. Slice tenderloin and serve with sauce. Garnish with rosemary if desired.
Notes
A good thermometer is key to be sure the tenderloin is not over-baked.