Skip to content

Update FreeRDP-Configuration-Manual.markdown #16

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

thejohnha
Copy link

@thejohnha thejohnha commented Aug 20, 2020

I tried running openssl genrsa –out rdp.key 2048 but it gave me an error "Extra arguments given." I believe genrsa was replaced with genpkey so the command is now: openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:2048 -out rdp.key

Credit to: https://unix.stackexchange.com/questions/415970/openssl-genpkey-algorithm-rsa-vs-genrsa

I tried running `openssl genrsa –out rdp.key 2048` but it gave me an error "Extra arguments given." I believe `genrsa` was replaced with `genpkey` so the command is now: `openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:2048 -out rdp.key`
@thomasphansen
Copy link

The original command works just fine - the problem is a typo on "-out": see the differences:

openssl genrsa –out rdp.key 2048
openssl genrsa -out rdp.key 2048

As you can see, the dash before "out" is using a unicode character, which openssl does not understand.
So, the only fix needed is to replace the "–" with a "-", and everyhing will work again... :)

Repository owner deleted a comment Feb 3, 2022
Repository owner deleted a comment Feb 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants