Hi,
Normally I can read minds, but you seem to be too far away, so I'll have to rely completely upon assumtions

I assume you have already purchased a PSU and have measured its output voltage and found it to be inappropriate. If it is too high, just use Ohm's law to calculate an appropriate value for the resistor.
If it is close to 12V, I personally would open the PSU and see if there is a circuit designed to stabilize and limit the value to 12V, und bypass or modify that circuit to do less stabilizing and less limiting, in hopes that it then provides enough voltage for charging the battery. I do not recommend that you do this, since you do not appear to have the appropriate electronics background and you therefore could easily introduce dangerous shock hazards.
If it is much lower than 12V, you might consider purchasing an appropriate solid state DC-DC converter, but your best bet is probably just buying an appropriate inexpensive PSU.'