Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oracle RAC README.md password management commands updates #1774

Open
Shreyashirwadkar opened this issue Nov 4, 2020 · 0 comments
Open

Oracle RAC README.md password management commands updates #1774

Shreyashirwadkar opened this issue Nov 4, 2020 · 0 comments
Assignees
Labels

Comments

@Shreyashirwadkar
Copy link

Current command
openssl rand -hex 64 -out /opt/.secrets/pwd.key

throws error - Extra arguments given.
rand: Use -help for summary.

Use below command instead
openssl rand -out /opt/.secrets/pwd.key -hex 64

Current command
openssl enc -aes-256-cbc -salt -in /opt/.secrets/common_os_pwdfile -out /opt/.secrets/common_os_pwdfile.enc -pass file:/opt/.secrets/pwd.key

throws warning
*** WARNING : deprecated key derivation used.
Using -iter or -pbkdf2 would be better.

Syntax -
openssl enc -aes-256-cbc -md sha512 -pbkdf2 -iter 100000 -salt -in InputFilePath -out OutputFilePath

Use below command instead-
openssl enc -aes-256-cbc -md sha512 -pbkdf2 -iter 100000 -salt -in /opt/.secrets/common_os_pwdfile -out /opt/.secrets/common_os_pwdfile.enc -pass file:/opt/.secrets/pwd.key

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants