Can you make a campfire anywhere?

There are some places where campfires cannot be created. These tend to be places where you need to be flagged or have a key to enter. If you think you should be able to make a campfire where you are then make sure the 3 fellows are close together and you have what yoou need to create the campfire.