Upload app to google play store problem

Here is my setup and
MY ERROR
You uploaded an APK or Android App Bundle signed with a certificate that is not yet valid. You need to sign your APK or Android App Bundle with a certificate that is currently valid.

Been a long time since I did it but I would guess the certificate used to sign your app is not the same as the one google knows about on the play store console.

You sign your app with your own locally created certificate (you have the private key).
You give the public certificate to Google so any app you upload, they know it was you.

Once you’ve uploaded the app, Google replace the signing with their own keys and show you the public certificate, keeping their private key hidden from everyone.

  1. Google Play developer console, go into your app.
  2. Go to Setup->App Signing
  3. Look for the Upload key Certificate section.
    This certificate in the upload section needs to match the one used to sign your app in Unity.
    All the info is here:
    https://developer.android.com/studio/publish/app-signing