I needed some nitrate recently and added some 5M nitric acid I had to an excess of calcium hydroxide (kalk), which I believe makes calcium nitrate. Dilute nitric acid is easily available pretty pure on ebay and kalk is for tanks anyway. I had the calcium nitrate fertilizer too but thought it might contain things like phosphates since its for agriculture. I find having the mineral acids nitric, hydrochloric and sulphuric in the shed is quite useful as they have multiple uses. This way, you know exactly how much nitrate is in the final solution too (whereas with solids they often are hydroscopic requiring baking, probably not wise with nitrates).
I'm not 100% sure of the calculation so don't take this as gospel, maybe Randy can confirm, but I reasoned that since 5M nitric acid has 5 moles of acid per litre, thats 5*62 = 310 grams nitrate per litre (62 grams is the weight of a mole of nitrate). So I made a solution with 10ml 5M nitric acid added to enough kalk that it did not all dissolve (so there was a residue of kalk in the beaker), and then added enough water to make the total volume 100ml. This solution then has 3.1 grams total nitrate in it, or 31mg per ml (31000 ppm). Adding 1 ml of this to a 100 litre tank would increase nitrate by 0.31 ppm, or adding 1 ml to a 100 US gallon tank would increase nitrate by 0.081 ppm. I'm using it every now and then to keep my nitrate around 2 ppm.