Is the public key generated correctly?
Bug #1519422 reported by
Rudolf Fäder
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Server Guide |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hey guys,
I have read the following article:
https:/
and you advise the user to create a public key like this:
openssl rsa -in server.key -out server.key.insecure
I think the option -pubout is missing here. With the key created with the line above I cant encrypt any text file and I am receiving the error "Unable to load Public key".
Rudolf Fäder
Changed in serverguide: | |
status: | New → Invalid |
To post a comment you must log in.
Firstly, the key being generated is a private key, not a public one.
Secondly, this chapter is about using SSL to identify a server and encrypt data while talking to a remote client, not encrypting files a la carte by a user. It is possible to do what you say but you need to use different commands, kind of what you're discovering. Anyway, GnuPG is the standard way to do what you're after.
There is nothing wrong with the page you refer to if it's used the way it is intended.