Nothing wrong with using a camera, just make sure the certificate is flat under a bright white light (tungsten or coloured light is no good, must be solid natural white, direct sunlight works also) and your camera takes the photo to a high quality. Make sure you also crop out the surroundings.