Jar signing

Questions and answers on developing, deploying and using plugins and JavaBeans

Jar signing

Postby Marco R. » Tue Sep 24, 2013 11:42 am

Hi all,

I've always used a keystore with a self-signed certificate.
Now I've bought a certificate from a CA.

The CA had sent me 3 certificates, I suppose that 1 is my own certificate, 1 is the authority, and 1 is an intermediate certificate.
Watching on your wiki page, I've found this phrase:

The signed certificate (+ any required intermediate certificate) received from the SSL supplier need to be imported into the keystore.
The signed .crt file can be imported into the keystore using the following command:
Code: Select all
keytool -import -alias MyPlugins -keystore mykeystore.ks -trustcacerts -file mykeystore.crt


Now my questions are:

1 - Is there a specific order in wich I have to import these certificates into my keystore? Because I've imported just one certificate.
2 - The keystore was created AFTER the certificate request from CA (this because initially the Certificates would be used to sign our website), this could be a problem (I'm thinking about the CSR)?

I'm making these questions because I've tried to import our website-certificate into the keystore sucefully, but once I've used the signed jar under the application server, I've received a warning for not trusted certificate (I suspect for the point 1 because I've imported just one certificate).

Sorry but I'm new in this argument :)

Thanks in advance

Marco Rossi
Marco Rossi
Freelance

Main development environment: Servoy 6.1.6 - 7.4.3, Java 1.6u45,7u71 Windows 7/CentOS
Marco R.
 
Posts: 203
Joined: Thu Mar 19, 2009 12:37 pm

Re: Jar signing

Postby IT2Be » Tue Sep 24, 2013 11:52 am

Hi Marco,

Are you using a code signing certificate for Java jars?

I ask because you are talking bout the certificate for your website...
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Re: Jar signing

Postby Marco R. » Thu Sep 26, 2013 11:11 am

That's it. I've made confusion between this two kind of certificate.
Thanks Marcel, I'll buy a "signing certificate".

Just to don't buy others useless certificates:
Is that the kind of certificate I need:
http://www.instantssl.com/code-signing/ ... 3goduEwAFA ?

Would anyone suggest me other cheapest vendor?


Thanks


Marco
Marco Rossi
Freelance

Main development environment: Servoy 6.1.6 - 7.4.3, Java 1.6u45,7u71 Windows 7/CentOS
Marco R.
 
Posts: 203
Joined: Thu Mar 19, 2009 12:37 pm

Re: Jar signing

Postby IT2Be » Thu Sep 26, 2013 11:23 am

Hmm, I don't know. When I bought it GlobalSign was the cheapest but not anymore I believe.

Please make sure that their documentation is ok, it is a troublesome process in any case but without good documentation even worse.
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany


Return to Plugins and Beans

Who is online

Users browsing this forum: No registered users and 14 guests

cron