Texture pack serveur

C

Compte supprimé

Invité
Ola ! J'essaye depuis quelques temps de télécharger un pack de texture sur mon serveur privé, mais je n'y arrive pas. Je certifie que le lien est un lien direct de téléchargement... Du coup, je suis allé dans mes lois et je suis tombé la-dessus :
23:28:48 no [STDERR]: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
23:28:48 no [STDERR]: at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
23:28:48 no [STDERR]: at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949)
23:28:48 no [STDERR]: at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302)
23:28:48 no [STDERR]: at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296)
23:28:48 no [STDERR]: at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1509)
23:28:48 no [STDERR]: at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)
23:28:48 no [STDERR]: at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
23:28:48 no [STDERR]: at sun.security.ssl.Handshaker.process_record(Handshaker.java:914)
23:28:48 no [STDERR]: at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)
23:28:48 no [STDERR]: at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
23:28:48 no [STDERR]: at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
23:28:48 no [STDERR]: at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
23:28:48 no [STDERR]: at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
23:28:48 no [STDERR]: at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
23:28:48 no [STDERR]: at sun.net.www.protocol.http.HttpURLConnection.followRedirect0(HttpURLConnection.java:2662)
23:28:48 no [STDERR]: at sun.net.www.protocol.http.HttpURLConnection.followRedirect(HttpURLConnection.java:2584)
23:28:48 no [STDERR]: at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1770)
23:28:48 no [STDERR]: at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
23:28:48 no [STDERR]: at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
23:28:49 no [STDERR]: at rd$1.run(SourceFile:143)
23:28:49 no [STDERR]: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
23:28:49 no [STDERR]: at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:111)
23:28:49 no [STDERR]: at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:58)
23:28:49 no [STDERR]: at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:75)
23:28:49 no [STDERR]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
23:28:49 no [STDERR]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
23:28:49 no [STDERR]: at java.lang.Thread.run(Thread.java:745)
23:28:49 no [STDERR]: Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
23:28:49 no [STDERR]: at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387)
23:28:49 no [STDERR]: at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)
23:28:49 no [STDERR]: at sun.security.validator.Validator.validate(Validator.java:260)
23:28:49 no [STDERR]: at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)
23:28:49 no [STDERR]: at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)
23:28:49 no [STDERR]: at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)
23:28:49 no [STDERR]: at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1491)
23:28:49 no [STDERR]: ... 22 more
23:28:49 no [STDERR]: Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
23:28:49 no [STDERR]: at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141)
23:28:49 no [STDERR]: at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126)
23:28:49 no [STDERR]: at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)
23:28:49 no [STDERR]: at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382)
23:28:49 no [STDERR]: ... 28 more

Je pense que mon problème est là-dedant, vous pourriez me dire comment faire pour que je puisse télécharger le pack ?

Merci d'avance ! :D
 
Dernière édition par un modérateur:

robin4002

Expert en informatique et systèmes d'information
Staff
Responsable technique
Responsable forum
12 Novembre 2012
20 815
156
3 000
347
26
Alsace
www.minecraftforgefrance.fr
Salut,
Le pack de ressources est-il hébergé sur un site en https ayant un certificat let's encrypt ?
Quelle est la version de Java indiqué en jeu lorsque tu appuies sur F3 ?
 
C

Compte supprimé

Invité
Hey !
Alors j'ai regardé, le site que j'utilise a un certificat de sécurité qui est "Délivré par: Let's Encrypt Authority X3" C'est ce que tu demandes je suppose ^^

Pour ce qui est de la version java... je vois en haut à droite du F3 "Java: 1.8.0_74 64bit"

En espérant t'avoir répondu :D
 

robin4002

Expert en informatique et systèmes d'information
Staff
Responsable technique
Responsable forum
12 Novembre 2012
20 815
156
3 000
347
26
Alsace
www.minecraftforgefrance.fr
Donc c'est normal que tu as cette erreur.
Les certificats let's encrypt n'ont que été ajouté à Java 8 update 102.
Les versions inférieurs ne les reconnaissent pas et refusent de communiquer avec le site car l'authentification https échoue.

Il faudrait donc héberger sur un site en http ou via un autre certificat.

Mettre à jour Java ne convient pas comme solution comme la plupart des personnes utilisent le launcher de Mojang qui intègre Java 8 update 25 sous Windows.
 
  • J'aime
Reactions: DiscowZombie
C

Compte supprimé

Invité
J'ai trouvé un truc tout bête... GoogleDrive...
J'ai upload mon fichier, j'ai pris un lien de téléchargement direct. Mais j'ai un nouveau soucis... Que dois-je faire faire une certaine clé SHA1 ?
J'ai jamais compris son but et comment l'obtenir :x
 
Dernière édition par un modérateur:

robin4002

Expert en informatique et systèmes d'information
Staff
Responsable technique
Responsable forum
12 Novembre 2012
20 815
156
3 000
347
26
Alsace
www.minecraftforgefrance.fr
C'est un hébergeur qui fait de l'http qu'il te faut, pas https.

Non ce n'est pas du au fait que le serveur est en local et pour le faire directement depuis ton ordi il faudrait un serveur web sur ton pc.
ftp ça ne fonctionnera pas (seuls les protocoles http et https sont supportés)
 
C

Compte supprimé

Invité
Tient j'ai complètement oublié... Dropbox, OK c'est https ! Pourtant ! J'ai un peu évolué ! Le pack est trouvé MAIS j'ai cette erreur :
Server resourcepack is invalid, ignoring it cet: 'pack.mcmeta' in ResourcePack '/Users/moi/Library/Application Support/minecraft/server-resource-packs/91f040061eaa7a7a7014dd8a0a60f097b6883fae'
at cej.a(SourceFile:41)
at ced.a(SourceFile:60)
at ceu$a.a(SourceFile:361)
at ceu.c(SourceFile:290)
at ceu.a(SourceFile:316)
at ceu$3.onSuccess(SourceFile:247)
at com.google.common.util.concurrent.Futures$4.run(Futures.java:1135)
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
at com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:902)
at com.google.common.util.concurrent.AbstractFuture.complete(AbstractFuture.java:813)
at com.google.common.util.concurrent.AbstractFuture.set(AbstractFuture.java:655)
at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:111)
at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:58)
at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:75)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
 
C

Compte supprimé

Invité
Si je mets le pack manuellement dans mon MC, il fonctionne... Mais il ne fonctionne pas quand je l'installe depuis le serveur :'( :confused: