Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTPS servers certificate #12

Open
kkyyhh96 opened this issue Dec 2, 2019 · 4 comments
Open

HTTPS servers certificate #12

kkyyhh96 opened this issue Dec 2, 2019 · 4 comments

Comments

@kkyyhh96
Copy link

kkyyhh96 commented Dec 2, 2019

I visited the website: https://forge-cogit.ign.fr/nexus/#welcome
However, the certificate is invalid. How can I get the certificate to import and install the software?

@gtouya
Copy link
Collaborator

gtouya commented Dec 3, 2019

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

@gtouya gtouya closed this as completed Dec 3, 2019
@PhanTask
Copy link

PhanTask commented Dec 3, 2019

@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
]



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

@gtouya
Copy link
Collaborator

gtouya commented Dec 4, 2019

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.

@gtouya gtouya reopened this Dec 4, 2019
@ilokhat
Copy link
Collaborator

ilokhat commented Dec 6, 2019

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants