I've upgraded to SHA2 certificate, but after upgrading the new certificate key doesn't match my old private key.
Public key has changed after updating and it doesn't match to previous private key.
Is it usual that after upgrading to SHA2, the upgrading public key doesn't match previous SHA1's private key ?
Any pointer's will be helpful ?
If the same CSR is used then the new cert would indeed work just fine with the same private key - most likely this was generated with a new key, which you'll need to get from the client.
Confirm that the new cert was generated with:
Compare the
Modulus
there to themodulus
from:If those don't match, then the new cert did not use the existing private key, and you'll need to get your hands on the new key (or request and issue the cert again with the existing key).