Since this error occurs only in the 12th and UG certificate and if it has not caused any trouble of problem so far in this regard because you have already obtained passport, PAN card and aadhar card which are vital and have identical and correctly spelt name, you may ignore this minor error or if you still want to have it correct then you may have to prepare an affidavit staying that this was erroneously mentioned as so and so in the said certificates, however you are known by both the names.
Along with a public notice published in a local newspaper you can keep this affidavit with your certificates to prove it as evidence to the authorities concerned for the correctional action taken by you in this regard.