Skip to main content
added 186 characters in body
Source Link
Janis
  • 14.4k
  • 4
  • 28
  • 42

You can try to set umask before converting it

umask 077; openssl rsa -in secure.key -out insecure.key

Edit: To not affect other files in the current shell environment by the umask setting execute it in a subshell:

( umask 077; openssl rsa -in secure.key -out insecure.key )

You can try to set umask before converting it

umask 077; openssl rsa -in secure.key -out insecure.key

You can try to set umask before converting it

umask 077; openssl rsa -in secure.key -out insecure.key

Edit: To not affect other files in the current shell environment by the umask setting execute it in a subshell:

( umask 077; openssl rsa -in secure.key -out insecure.key )
Source Link
Romeo Ninov
  • 19.5k
  • 5
  • 34
  • 48

You can try to set umask before converting it

umask 077; openssl rsa -in secure.key -out insecure.key