The forged certificate still wants to be valid. . . You are so thoughtful. . .
If you don’t buy it from a CA, you can only issue a root certificate yourself and then verify this certificate. . .
Moreover, certificates and digital signatures are legally valid. Forging certificates may be illegal. This needs to be noted.