Yes, In most countries of the world, marriage is a recognized ceremony. There may be some countries that do not recognize a foreign marriage as a qualification for citizenship issues.
I can't be too sure on how legal it is as you are Canadian and you married out of the country. I'd contact Immigration Canada to find out how legal your marrige is.
You can be married outside of...