Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Rajender
Creator
Creator

CertificateExpiredException exception even after patch installation

Hi There,

We are using TAC version 7.1 As per Talend guidelines a patch need to install to avoid failures.

Following Talend Data management platform studio: Certification Expiration patch was installed successfully.

Patch_20201211_TPS-4416_v2-7.1.1.zip

Talend studio is working fine when developing jobs. Now we are facing java.security.cert.CertificateExpiredException: NotAfter: Sun Jan 17 05:36:12 IST 2021 while building job in studio.

Kindly help.

following is build error.

[WARNING] Disabling enhanced local repository: using legacy is strongly discouraged to ensure build reproducibility.

[INFO] Scanning for projects...

[INFO] 

[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1

[INFO]                                     

[INFO] ------------------------------------------------------------------------

[INFO] Building BOOKING_BRIDGE job_presto_nedw_bill_lading-0.1.0 (0.1,Job Designs) 0.1.0

[INFO] ------------------------------------------------------------------------

[WARNING] The POM for com.google.guava:guava:jar:20.0 is missing, no dependency information available

[WARNING] The POM for org.apache.httpcomponents:httpclient:jar:4.5.5 is missing, no dependency information available

[WARNING] The POM for org.apache.httpcomponents:httpcore:jar:4.4.9 is missing, no dependency information available

[WARNING] The POM for com.fasterxml.jackson.core:jackson-core:jar:2.9.5 is missing, no dependency information available

[WARNING] The POM for log4j:log4j:jar:1.2.17 is missing, no dependency information available

[INFO] 

[INFO] --- builder-maven-plugin:7.1.1:generate (default) @ job_presto_nedw_bill_lading ---

[WARNING] The POM for commons-lang:commons-lang:jar:2.6 is missing, no dependency information available

[INFO] Skipping ci-builder

[INFO] 

[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ job_presto_nedw_bill_lading ---

[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!

[INFO] Copying 0 resource

[INFO] 

[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ job_presto_nedw_bill_lading ---

[INFO] Not compiling main sources

[INFO] 

[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ job_presto_nedw_bill_lading ---

[INFO] Not copying test resources

[INFO] 

[INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ job_presto_nedw_bill_lading ---

[INFO] Not compiling test sources

[INFO] 

[INFO] --- maven-surefire-plugin:2.20:test (default-test) @ job_presto_nedw_bill_lading ---

[INFO] Tests are skipped.

[INFO] 

[INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ job_presto_nedw_bill_lading ---

[INFO] Building jar: C:\Users\NBSPRJ11\Documents\Workspace\BOOKING_BRIDGE\poms\jobs\process\Paperless\job_presto_nedw_bill_lading_0.1\target\job_presto_nedw_bill_lading_0_1.jar

[INFO] 

[INFO] --- maven-assembly-plugin:3.0.0:single (default) @ job_presto_nedw_bill_lading ---

[INFO] Reading assembly descriptor: C:\Users\NBSPRJ11\Documents\Workspace\BOOKING_BRIDGE\poms\jobs\process\Paperless\job_presto_nedw_bill_lading_0.1/src/main/assemblies/assembly.xml

[WARNING] Missing POM for com.google.guava:guava:jar:20.0

[WARNING] Missing POM for org.apache.httpcomponents:httpclient:jar:4.5.5

[WARNING] Missing POM for org.apache.httpcomponents:httpcore:jar:4.4.9

[WARNING] Missing POM for com.fasterxml.jackson.core:jackson-core:jar:2.9.5

[WARNING] Missing POM for log4j:log4j:jar:1.2.17

[INFO] Building zip: <location>\job_nedw_bill_0_1.zip

[INFO] 

[INFO] --- signer-maven-plugin:7.1.1:sign (sign) @ job_nedw_bill_0_1 ---

[WARNING] The POM for commons-codec:commons-codec:jar:1.10 is missing, no dependency information available

[INFO] Start to sign the job artifact

[INFO] Start to sign artifact, the source file is job_nedw_bill_0_1.zip and target file is job_nedw_bill_0_1.zip

[ERROR] 

java.security.cert.CertificateExpiredException: NotAfter: Sun Jan 17 05:36:12 IST 2021

at sun.security.x509.CertificateValidity.valid(CertificateValidity.java:274)

at sun.security.x509.X509CertImpl.checkValidity(X509CertImpl.java:629)

at sun.security.x509.X509CertImpl.checkValidity(X509CertImpl.java:602)

at org.talend.signature.TalendZipSigner.checkCertValidity(TalendZipSigner.java:97)

at org.talend.signature.TalendZipSigner.getSignerConfigs(TalendZipSigner.java:80)

at org.talend.signature.TalendZipSigner.getSigner(TalendZipSigner.java:56)

at org.talend.signature.TalendZipSigner.sign(TalendZipSigner.java:51)

at org.talend.signature.SignExecutor.execute(SignExecutor.java:80)

at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)

at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)

at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)

at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)

at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108)

at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)

at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)

at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)

at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)

at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)

at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)

at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)

at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)

at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)

at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)

at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 4.984 s

[INFO] Finished at: 2021-03-04T19:08:53+05:30

[INFO] Final Memory: 16M/322M

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal org.talend.ci:signer-maven-plugin:7.1.1:sign (sign) on project job_presto_nedw_bill_lading: Sign artifact failed: NotAfter: Sun Jan 17 05:36:12 IST 2021 -> [Help 1]

[ERROR] 

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR] 

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Labels (3)
1 Solution

Accepted Solutions
ifcam
Contributor
Contributor

Hello,

For other people who still might have this bug, it seems that in my case (as of today) studio\configuration\.m2\repository\org\talend\ci\signer-maven-plugin\7.1.1 was containing a signer-maven-plugin-7.1.1 (theoretically the good version), which was from early 2020 (meaning not the most recent one)

I replaced the jar with a most recent 7.1.1 version from early 2021 that one of my coworker had and it solved my issue.

Best regards,

Tom Dagens.

View solution in original post

3 Replies
Anonymous
Not applicable

Hello

Can you tell us if the studio install path has space ? this kind of issue might happen if studoinstallpath has space , but might happen in other scenario too

 

Also if you look for the following file on the studioinstallpath, can you find it ?

signer-maven-plugin-7.1.1.jar

 

If not, please open a case

 

 

Regards

 

Anonymous
Not applicable

Hello,

Have you already created a support case on talend support portal? In this way, we could give you a remote assistance through support cycle with priority.

Best regards

Sabrina

ifcam
Contributor
Contributor

Hello,

For other people who still might have this bug, it seems that in my case (as of today) studio\configuration\.m2\repository\org\talend\ci\signer-maven-plugin\7.1.1 was containing a signer-maven-plugin-7.1.1 (theoretically the good version), which was from early 2020 (meaning not the most recent one)

I replaced the jar with a most recent 7.1.1 version from early 2021 that one of my coworker had and it solved my issue.

Best regards,

Tom Dagens.