ECDSA Public Key Mismatch Despite Using Correct Private Key and Certificate

You can use SDK or Openssl but seems you are trying to use both which is confusing for me atleast. Now there is a difference when you create CSR for simulation and also in Openssl. Have a look at the following topic,