Skip to Main Content

Security Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OAM 12c encrypting aaa_key.pem for WebGates: openssl does not like -sha256 option

Roelof_vSAug 27 2020 — edited Sep 7 2020

Hello all,

I am following document "Administering Oracle Access Management" (12.2.1.3)

https://docs.oracle.com/en/middleware/idm/access-manager/12.2.1.3/aiaag/securing-communication.html#GUID-971DAC78-82DA-4…

Part "B.4.6 Generating a Private Key and Certificate Request for WebGates" point 5 states to use the command

openssl rsa -in aaa_key.pem -passin pass: -out aaa_key.pem -passout pass:******** -des -sha256
where ******** represents the new password.
openssl does NOT like the -sha256 flag, and gives error "unknown option -sha256".

I can only get the command line to work by omitting the -sha256 flag.

Will this still work, or do I need a different command-line?
I have tested with a 3rd party openssl on Windows, as well as openssl bundled in Oracle Linux.
Google searching has revealed similar questions, but unanswered, and I have not found anything on Oracle Support knowledge base.

Thanks - Roelof_vS

Comments
Post Details
Added on Aug 27 2020
8 comments
759 views