Mapkit js invalid signature problem

I try to create ES256 jwt token for mapkitkit js but have problem with verify signature part when I enter private key in my downloaded key file it says invalid signature.