r351574nc3 / kualigan-maven-plugins

Maven archetype for converting/creating mavenized KFS/Overlay distributions
3 stars 2 forks source link

New goal to import rsa private key into rice keystore #2

Open bobjana opened 12 years ago

bobjana commented 12 years ago

Initially battled to get Step 2. of http://kualigan.blogspot.com/2012/07/how-i-setup-my-kfs-instance-built-from.html working as I did not know where to find the class "RsaEncryptionServiceImpl.java" Also found a bug in the class that sent me on a wild goose chase thinking classpath, files, parameters, my environmnet might be wrong. Would really be useful if after an overlay was generated, a person could call a goal to import an env. private key into keystore.

r351574nc3 commented 12 years ago

This sounds like a great idea. I don't know why I didn't do this to begin with. Do you need this to get your keys in or were you able to do that?

bobjana commented 12 years ago

I eventually figured it out. My private key started with "-----BEGIN RSA PRIVATE KEY-----" and not "-----BEGIN PRIVATE KEY-----" which had some arb exception appearing. Don't know if it is a real bug or env specific. But thanks, I'm good for now :)

On Tue, Jul 31, 2012 at 8:24 AM, Przybylski 중광 < reply@reply.github.com

wrote:

This sounds like a great idea. I don't know why I didn't do this to begin with. Do you need this to get your keys in or were you able to do that?


Reply to this email directly or view it on GitHub:

https://github.com/r351574nc3/kfs-maven-plugin/issues/2#issuecomment-7390687

r351574nc3 commented 12 years ago

Ok, then I'll prioritize this for the 1.0.10 milestone.