Miller enlisted in the Army from Rochester, New York in December 1863. He earned the Medal of Honor for his actions on March 2, 1865 in Waynesboro, Virginia during the Battle of Waynesboro. His citation reads, "capture of flag." He mustered out with his regiment in June 1865.