This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
I have generated key pair into cacerts using keytool -genkey command and its generated successfuly.
Now i have to import same key pair with same alias name into another cacerts so how can i do this?
kamal palia
Greenhorn
Joined: Jul 20, 2012
Posts: 17
posted
0
I got the command for copying key pair from one keystore to another keystore given below
That looks very very wrong! You need to look at the 'keytool' documentation.
kamal palia
Greenhorn
Joined: Jul 20, 2012
Posts: 17
posted
0
I have two different application servers and generated key pair in one server and shared public key with client.
Now whenever client will send some encrypted data loadbalancer will try to send request to any one of the server, which means in both server private key should be available so for this purpose, i need to copy key pair from one app server jks file to another app server jks file.
So what's wrong in this?
Richard Tookey
Ranch Hand
Joined: Aug 27, 2012
Posts: 370
posted
0
kamal palia wrote:
So what's wrong in this?
I was not indicating that your concept is flawed, though I do have reservations, only that the command line you are using is very very wrong and that you need to read the 'keytool' documentation. What is to stop you copying the whole 'cacerts' file from one machine to the other?
P.S. I do hope you are getting a CA to generate signed certificates or you are going to have two unauthenticated to each other and unknown to each other parties communicating very very securely.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.