I am currently trying to generate a CSR for a mac app, and have narrowed down an issue within my key generation.
I am currently using the code below to generate the keys,