OpenSSL Public Key Issue
location: linuxquestions.com - date: July 7, 2010
Hi, i'm just starting out with OpenSSL. I've worked up a little example to generate a RSA key pair and save it into both private and public PEM files.
All seems ok, but then i'm try to use it with actual openssl and get the following error:
ssh: is there any issue with adding my personal public key to authorizedkeys?
location: linuxquestions.com - date: October 6, 2008
Is there anything fundamentally wrong with using my own public key for logging into my system? That is, appending ~/.ssh/id_rsa.pub or ~/.ssh/id_dsa.pub to ~/.ssh/authorized_keys
[SOLVED] Unable to load Public Key (OpenSSL RSA, Debian Squeeze)
location: linuxquestions.com - date: November 29, 2012
Here's my public key (pub.pem):
how to encrypt a large file in openssl using public key
location: linuxexchange.com - date: May 27, 2013
How can I encrypt a large file with a public key so that no one other than who has the private key be able to decrypt it?
I can make RSA public and private keys but when it comes to encrypting a large file using this command:
openssl rsautl -encrypt -pubin -inkey public.pem -in myLargeFile.xml -out myLargeFile_encrypted.xml
and how can i perform the decryption also....
i create my private and public key by the following commands
openssl genrsa -out private.pem 1024
openssl rsa -in private.pem -out public.pem -outform PEM -pubout
I get this error:
RSA operation error
3020:error:0406D06E:rsa routines:RSA_padding_add_PKCS1_type_2:data too large for key size:.\crypto\rsa\rsa_pk1.c:151:
I tried to make keys with sizes from 1024 to 1200 bits, no luck, same error
How to encrypt an XML file in Ubuntu with openssl using the public key?
location: linuxexchange.com - date: August 19, 2011
can any one able to tell me how to encrypt and decrypt an xml file using openssl.
i can able to create privatekey using the linux command
openssl genrsa -out private.pem 1024 and got my private key as private.pem
also i create public key using
openssl rsa -in private.pem -out public.pem -outform PEM -pubout got my public key as public.pem
now wat i want is i want to encrypt the xml file using this public key and again want to decrypt using my private key....please help me...
thanks in advance
OpenSSL private, public key and certificate, what exactly do i send to client?
location: linuxexchange.com - date: August 4, 2014
I am starting out with SSL.
I have created server and client applications accord to this and this example.
Searched the internet for some information about the keys and certificates.
Found this command openssl req -x509 -nodes -days 365 -newkey rsa:1024 -keyout mycert.pem -out mycert.pem which i used for both, the server and client sides and it seems to work.
I opened the cert.pem file to find out, that this file contains both, private key and certificate data. I think giving out private key is a bad thing, so there must be something wrong with what i did. AND i didnt see a public key in there.
Then i found this short guide on how to create private key. All good (i refused to use the version which asks password). Now i see the file contains only private key.
I find this short guide on certificates. Following step 4 i created a certificate using the previously generated private key. Checked the file, confirmed there was only certificate data in it. Great. I started thinking,
Punkbuster CD key issue with Enemy Territory
location: linuxquestions.com - date: January 30, 2004
I've installed Enemy Territory without any grief, and the game runs fine (if a little jerkily at times - my system specs are not quite what I'd like).
But when I try to connect to a server, I get this perpetually on the in game console :
PunkBuster Client: Cdkey Registration Request sent to GuidAuth Master at 126.96.36.199:27960 (1853826324)
PunkBuster Client: File /home/neil/.etwolf/etmain/etkey Deleted due to Empty CDKey
The tech support at evenbalance (who own Punkbuster) have not been efficient in their helpfulness. Perhaps someone on the forum has a solution?
GPG error, no public key
location: linuxquestions.com - date: July 31, 2009
hi, i earlier had used ubuntu 8.04 earlier, but after upgrade to 8.10, some startup problems occured, so i uninstalled it.
after few months when i m again using 8.04 nd i m getting some problems like:
i) vlc 0.9.2 was not getting installed by apt-get way, although i typed following in the terminal:
Ubuntu 10.10 How to enable ssh root with public key ?
location: ubuntuforums.com - date: October 22, 2010
I'm scripting virtual machines and I need to ssh root ubuntu 10.10 machines.
Ubuntu 10.04 permits ssh root with rsa public key with just change PermitRootLogin as yes in /etc/sshd/sshd_config
Ubuntu 10.10 seems to have change security policies, PermitRootLogin is already set to yes by default, but does not permits ssh root login with rsa public key
How to enable ssh root with rsa public key on an ubuntu 10.10 machine ?
Thanks in advance,
SSH key issue
location: linuxquestions.com - date: July 29, 2008
I am trying to setup ssh keys so that I do not need passwds to scp/ssh between systems. System nona-man is running CentOS4.5 and node1003 is running CentOS5.1.
I generate the keys for nona-man: ssh-keygen -t rsa
no passphrase. Then via kickstart copy nona-man's id_rsa, id_rsa.pub and authorized_keys (copy of id_rsa.pub) files to node1003:/root/.ssh. All root/.ssh dir/files have the permission 700/600, respectively. I can ssh as root into the node1003 from nona-man without a passwd ,but not the reverse. My /etc/sshd_config file is a default and unchanged. /etc/hosts.allow on nona-man allows ssh from the node1003. host.deny is ALL:ALL
nona sshd: ROOT LOGIN REFUSED FROM ::ffff:172.20.101.3 (node IP)
I do not want to allow root logins, as other nics are exposed to the outside world.
Below is the debug info from the node to nona-man.
One debug message seems strange to me: It is looking for rsa1 key...
Page: 1 2 3 4 5 6 7 8 9 10