For more info on a CO follow this link...
In a regular sale, the seller provides the Certificate of Occupancy. On bank owned and short sales sometimes the buyer is required to obtain the CO.
Requirements vary from town to town, call your local building offeicer at Town Hall and find out just what must be done. If you're working with an agent, they should be able to answer your questions.
Keller Williams Realty Atlantic Shore
As Laura mentioned, generally securing the CO is for the seller to do, but in a short sale and/or foreclosure, it is left for the buyer to do. But to close, it must be done. Once completed, get your certificate of approval to your attorney.
"Unwavering Commitment to Service"
Find success at http://www.feenick.com