Code Monkey home page Code Monkey logo

Comments (4)

gtouya avatar gtouya commented on May 27, 2024

Yes the certificate is invalid, this is why it is necessary to add it manually to your trust store. You should be able to download it following the installation guide, but to save you some time, I add the file to this message.

forge-cogitignfr.zip

from cartagen.

PhanTask avatar PhanTask commented on May 27, 2024

@gtouya I downloaded the certificate and added it to my keystore. But when I run the project, it said that "Hostname forge-cogit.ign.fr not verified". What could possibly be the reason?

Error Information:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  06:25 min
[INFO] Finished at: 2019-12-03T12:36:46-06:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project cartagen-appli: Could not resolve dependencies for project fr.ign.cogit:cartagen-appli:jar:0.1-SNAPSHOT: Failed to collect dependencies at fr.ign.cogit:cartagen-core:jar:0.1-SNAPSHOT: Failed to read artifact descriptor for fr.ign.cogit:cartagen-core:jar:0.1-SNAPSHOT: Could not transfer artifact fr.ign.cogit:cartagen-core:pom:0.1-SNAPSHOT from/to cogit-snapshots (https://forge-cogit.ign.fr/nexus/content/repositories/snapshots/): Hostname forge-cogit.ign.fr not verified:
[ERROR]     certificate: sha256/AuzLSDurlUFO+QD36LpnIt7+kALBbTXm7yb7esdfsvs=
[ERROR]     DN: CN=forge-cogit.ign.fr
[ERROR]     subjectAltNames: []
[ERROR] -> [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/DependencyResolutionException

Keystore Certificate Formation

Keynote Type: PKCS12
Keynote Provider: SUN

One item

Alias: forgecogit
Creation Date: 2019 12 3
item Type: trustedCertEntry

Owner: CN=forge-cogit.ign.fr
Distributer: CN=forge-cogit.ign.fr
Series Number: ba6dc7422ae5e5f1
Valid Date: Tue Dec 09 00:18:04 CST 2014, Invalid Date: Fri Dec 06 00:18:04 CST 2024
Certificate Fingerprint:
         SHA1: F8:31:A9:5D:E5:24:3E:9F:EC:DD:3C:67:2F:2D:C1:AF:B6:5C:93:8F
         SHA256: 56:F8:48:56:15:39:A9:FE:97:81:56:B0:12:11:BD:2B:A4:0B:FD:18:0B:1B:67:EC:95:DF:17:A6:06:72:2B:34
Signature Algorithm Name: SHA1withRSA
: 2048 Bit RSA Key
Version: 3

Extention:

#1: ObjectId: 2.5.29.19 Criticality=false
BasicConstraints:[
  CA:false
  PathLen: undefined
]



*******************************************
*******************************************

from cartagen.

gtouya avatar gtouya commented on May 27, 2024

Not sure what the problem is, we will investigate and come back to you soon. I'm getting tired with this certificate issues and we will think about a solution to avoid it.

from cartagen.

ilokhat avatar ilokhat commented on May 27, 2024

@PhanTask
If you're using Eclipse to build your project, I can reproduce the same error if I try to build with the maven embedded.
But as soon as I switch to the maven from my system (Apache Maven 3.6.0 on a Linux station) the build succeeds.

You can change the maven used by your Eclipse installation in Window > Preferences > Maven > Installations
as hinted in the end of this (french )tutorial (The last section, Troubleshooting) :
https://github.com/IGNF/geoxygene/wiki/Configuration-d'un-environnement-de-d%C3%A9veloppement-Eclipse-pour-GeOxygene

from cartagen.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.