If you don't really want to hunt, you don't need the hunting license. Just the gun license. They are two separate licenses in Canada. You get the gun license from the Federal government, and the hunting license from Ontario. If you just want a gun for wildlife protection you could just get the gun license and skip the hunting license.
Any gun store (Al Flaherty's, Bass Pro, LeBaron's) should be able to set you up with a course. For the gun license, you actually just have to challenge the exam. The written part is pretty easy, and you can self-study for that, the material is all online. There is also a practical portion of the exam, where you have to demonstrate safe handling of firearms with actual (disabled) firearms. That part you will either have to take the course to learn, or if you have a friend who is licensed, they could teach you the required safety rules and techniques in an afternoon. Either way you then challenge the exam which has both a written and a practical element. Similar to getting a drivers license.
There are two classes of gun licenses in Canada, non-restricted, and restricted. Sounds like you just need a rifle, so all you need is the non-restricted license. A restricted license would allow you to purchase handguns, but you would not be allowed to use those for wildlife protection, so not very useful to you, as you can only load a handgun legally at a shooting range, not out in the woods or at your cottage. The restricted license requires a second written/practical exam, which if you take a course, makes it a two day thing instead of a one day thing.
The above is for Canada--in the states, it's different, and I'm not the right one to answer. I understand the rules differ by state, so you want to check the rules in the state where your cottage is. Note one big pitfall--you basically CANNOT buy gun parts / ammo / guns in the US and then drive across the border with them. It's not just a tax/customs issue, it's a criminal issue, if the *US* side catches you doing that, you get charged with arms smuggling, possibly jailed, and banned forever from the United States. Only a licensed exporter can export firearms/parts/ammo from the US. Just beware. You can file papers to take your own gun back and forth with you, but don't fall into the trap of buying stuff in the US and trying to bring it back to Canada. Not worth the risk. A properly licensed store can file paperwork and ship it to you in Canada, but you cannot just drive stuff across the border.