Whenever any real property shall be sold under an order, decree, or judgment of foreclosure, under the provisions of this chapter, the officer or other person making the sale must give to the purchaser a certificate of sale, as provided in the statutes relating to foreclosure of real estate mortgages by advertisement and sale.
SDCL 21-47-21