I'm trying to create a Github action to authorise a Github action and then create a scratch org to run tests against, but I keep getting the below error when trying to authorise. How can I debug this?
I created the certificate following the steps here using openssl
- name: Authenticate Against Dev Hub
run: sfdx force:auth:jwt:grant --clientid ${{ secrets.SF_APP_KEY_PROD }} --jwtkeyfile keys/server.key --username ${{ secrets.SF_USERNAME_PROD }} --instanceurl ${{ secrets.SF_INSTANCE_URL_PROD }} --setdefaultdevhubusername -a DevHub
ERROR running auth:jwt:grant: We encountered a JSON web token error, which is likely not an issue with Salesforce CLI. Here’s the error: error:1E08010C:DECODER routines::unsupported
server.key