title: signing a JWT with a .pfx file
body: <p>I need to acquire an access token from Microsoft using <a href="https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-client-creds-grant-flow#second-case-access-token-request-with-a-certificate" rel="nofollow noreferrer">their certificate flow</a>.</p>
  <p>I think it should be something very similar to what was explained in <a href="https://stackoverflow.com/questions/59216430/how-can-i-sign-a-jwt-to-exchange-an-access-token-from-azure-active-directory">this</a> post, but I was only given a .pfx file from the person who set up the tenant app in the Azure Account.
  If I try to follow the steps, I am asked to &quot;enter import password&quot; - which I don't know.</p>
  <p>Is there anything I can do from my side to sign a JWT token using this .pfx file?</p>
  <p>edit: I'm using Java, with the Microsoft Authentication Library (MSAL).</p>