
Yanivb.65675 (Customer) asked a question.
I'm creating a custom application for my product and I'm trying to enable the "Assertion Encryption".
I've created private and public keys and uploaded the public key to Okta under "Encryption Certificate" however I'm getting the following error:
"There was an error reading the certificate file: Unable to initialize, java.io.IOException: Short read of DER length"
I'm using openssl to create the keys.
Can you please help get the right command to create the keys?
Thanks

Hello, this is Jose Soto from Okta support.
In the following link, you can find the command list to generate the keys correctly using Openssl.
https://www.kinamo.be/en/support/faq/useful-openssl-commands
In case you're still having issues after you try using the information provided in the article, please open a case with support to get assistance. !