 He was born in Malone, New York in 1849, the son of Irish immigrants, and was educated at Middlebury College in Vermont.O'Keefe was an insurance agent and president of the Ontario Permanent Building and Loan Association at Ottawa.He served on Ottawa city council from 1876 to 1880 and from 1885 to 1889.