A California man was sentenced Tuesday to 12 years in federal prison for trying to enter Canada so that he could eventually travel to the Mideast to help wage