Login  Register

JAR expiration date

classic Classic list List threaded Threaded
12 messages Options Options
Embed post
Permalink
big
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

JAR expiration date

big
442 posts
Hi,
On R12.2.4 and 11.5.10

We signed our JAR running:

          AD Administration Main Menu
   --------------------------------------------------

   1.    Generate Applications Files menu

Then:
   5.    Generate product JAR files

Any way to verify our JAR new expiration date or their date of validity?

Thanks.
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: JAR expiration date

ErmanArslansOracleBlog
Administrator
5727 posts
jarsigner may be used for that..

Example: jarsigner -verify -verbose frmall.jar | grep "expire"
big
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: JAR expiration date

big
442 posts
Thanks.

I will try.
big
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: JAR expiration date

big
442 posts
Hi,
I tried
 jarsigner -verify -verbose frmall.jar | grep "expire"

on 11.5.10 I received:
java.util.zip.ZipException: error in opening zip file
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(ZipFile.java:140)
        at java.util.jar.JarFile.<init>(JarFile.java:140)
        at java.util.jar.JarFile.<init>(JarFile.java:91)
        at sun.security.tools.JarSigner.verifyJar(JarSigner.java:499)
        at sun.security.tools.JarSigner.run(JarSigner.java:228)
        at sun.security.tools.JarSigner.main(JarSigner.java:106)

On R12.2.4 nothing returned.

Thanks.

Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: JAR expiration date

ErmanArslansOracleBlog
Administrator
5727 posts
Are you in the correct directory and are you trying to operate on an existing jar file?
big
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: JAR expiration date

big
442 posts
Hi,

   "Are you in the correct directory"

In which directory should I be please?

       " are you trying to operate on an existing jar file?"

Should be applied on a file? Where are our JAR files?

Thanks and regards.
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: JAR expiration date

ErmanArslansOracleBlog
Administrator
5727 posts
I cant understand what you re telling. Please revise.
big
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: JAR expiration date

big
442 posts
Sorry Erma,
You asked me:
"Are you in the correct directory"?

Where is the correct directory?

You asked me  if I am trying to operate on an existing jar file? No, I just ran your commande line without adding a file name.

I hope to be clear.

Regrads.
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: JAR expiration date

ErmanArslansOracleBlog
Administrator
5727 posts
Go to the directory where your jar file exist and then run the command . (Replace the jar file name given in the following example with the name of your jar file )

Example: jarsigner -verify -verbose frmall.jar | grep "expire"
big
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: JAR expiration date

big
442 posts
This post was updated on Aug 22, 2021; 6:09pm.
Thank you.

This one is also interesting:

 jarsigner -verify -verbose -certs $JAVA_TOP/oracle/apps/ad/jar/adxlib.jar | grep "valid from"

Regards.
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: JAR expiration date

iqbaljawaid138
2 posts
Hi, Please give the keystore path and name too. as follows

jarsigner -verify -verbose -certs -keystore $NE_BASE/EBSapps/appl/ad/admin/adkeystore.dat /abcd/R1228/fs1/EBSapps/comn/java/classes/oracle/apps/fnd/jar/fndewt.jar
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: JAR expiration date

ErmanArslansOracleBlog
Administrator
5727 posts
Good..