Can't Login to Haven and Hearth

Ask, answer and discuss any and all topics about the hows, whys, wheres and whens of playing Haven & Hearth.

Can't Login to Haven and Hearth

Postby CelticWarrior » Sat Sep 16, 2017 2:49 pm

I downloaded the java file and it runs fine. But when I get to the login screen and click login it give this error mesage:
Excpetion: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid and I can't see the rest.
Please help I REALLY want to play this game
CelticWarrior
 
Posts: 10
Joined: Sat Sep 16, 2017 2:22 am

Re: Can't Login to Haven and Hearth

Postby Tilia » Sat Sep 16, 2017 4:43 pm

CelticWarrior wrote:I downloaded the java file and it runs fine. But when I get to the login screen and click login it give this error mesage:
Excpetion: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid and I can't see the rest.
Please help I REALLY want to play this game


This problem may be due to self signed certificates that havenandhearth.com uses. To add an exception to Java;

Computer -> Open Control Panel -> Programs -> Java

Java Control Panel

tabs-> General|Update|Java|Security|Advanced

Security

exception site list

read this web page about how to add exceptions
https://www.java.com/en/download/faq/exception_sitelist.xml

Add a URL

Click on the Edit Site List button.
Click the Add in the Exception Site List window.
Click in the empty field under Location field to enter the URL.
URL should begin with http:// or https://
eg. http://havenandhearth.com or https://havenandhearth.com
Click OK to save the URL that you entered. If you click Cancel, the URLs are not saved.
Click Continue on the Security Warning dialog.
User avatar
Tilia
 
Posts: 72
Joined: Wed Dec 14, 2011 2:35 am

Re: Can't Login to Haven and Hearth

Postby MagicManICT » Sat Sep 16, 2017 6:14 pm

CelticWarrior wrote:I downloaded the java file and it runs fine. But when I get to the login screen and click login it give this error mesage:
Excpetion: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid and I can't see the rest.
Please help I REALLY want to play this game

Make sure your version of Java is up to date. This error only shows up with older versions of Java. You should be running 1.8 update 144. You can update directly through the Java options (Windows: Control Panel > Java) or via java.com. It's suggested to allow Java to auto update. As long as Java is installed and can run through the web browser, all it takes is going to a bad website to have virus or other problems. (Note there are other causes of this error, but a user probably won't be seeing them on released software unless it's a major bug.)

You may need to fully uninstall and reinstall Java, too.

If you're running any 3rd party security software, please see my note at the bottom.

Tilia wrote:This problem may be due to self signed certificates that havenandhearth.com uses. To add an exception to Java;

Except the cert the game uses isn't self signed. The cert the SSL login is, though, if anyone wants to log into the website via HTTPS.

There should be no need for exceptions* or installing the cert onto the computer manually unless there's another problem. Adding an exception for Haven to Java's security hasn't been necessary in a while (since Java v8 was released a year or so ago at least). The exception to that I can think of is if Java's security is set to "Very High," and the certificate cannot be verified by the certificate trust chain. I can think of a few possible failures, but nothing that can be easily diagnose over the Internet, or even related to the client computer running the code.

To note, the Seatribe certificate is issued to HB Seatribe by GlobalSign CodeSigning CA. This can be viewed through the Java options, Security tab.

*Note: If using a 3rd party firewall or other security software, adding exceptions to that software may be necessary. If they aren't there, then issues running any app or other software can experience odd crashes. Typically there's other errors that occur, though something like this one is possible.
Opinions expressed in this statement are the authors alone and in no way reflect on the game development values of the actual developers.
User avatar
MagicManICT
 
Posts: 18436
Joined: Tue Aug 17, 2010 1:47 am

Re: Can't Login to Haven and Hearth

Postby GameWrecker » Tue Sep 19, 2017 11:57 pm

I had the same problem after installing new java.
GameWrecker
 
Posts: 2
Joined: Sat Sep 16, 2017 3:15 pm

Re: Can't Login to Haven and Hearth

Postby GameWrecker » Wed Sep 20, 2017 12:47 am

Still doesn't work. It loads but then closes almost instantly and displays this error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Anyone know how I can get the right certificate?
GameWrecker
 
Posts: 2
Joined: Sat Sep 16, 2017 3:15 pm

Re: Can't Login to Haven and Hearth

Postby MagicManICT » Wed Sep 20, 2017 4:17 am

I sent a PM to the devs on this. The only things I can think of causing this have been mentioned. There may be another cause I've overlooked, though.
Opinions expressed in this statement are the authors alone and in no way reflect on the game development values of the actual developers.
User avatar
MagicManICT
 
Posts: 18436
Joined: Tue Aug 17, 2010 1:47 am

Re: Can't Login to Haven and Hearth

Postby loftar » Wed Sep 20, 2017 4:56 am

GameWrecker wrote:Still doesn't work. It loads but then closes almost instantly and displays this error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

This sounds different from what the OP reported, since you say that the client "closes". Is this a JNLP error or an in-client error? Can you post more details, like tracktraces or wrapped exceptions?
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9045
Joined: Fri Apr 03, 2009 7:05 am

Re: Can't Login to Haven and Hearth

Postby CelticWarrior » Wed Sep 20, 2017 1:13 pm

I didn't have any idea what you said loftar. when I say it closes the whole window closes and a small error window pops up. I think it has something to do with the certificate.
CelticWarrior
 
Posts: 10
Joined: Sat Sep 16, 2017 2:22 am

Re: Can't Login to Haven and Hearth

Postby loftar » Wed Sep 20, 2017 1:29 pm

CelticWarrior wrote:a small error window pops up

Please post more information about said window. What does it look like, and does it contain further information that you can post?
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9045
Joined: Fri Apr 03, 2009 7:05 am

Re: Can't Login to Haven and Hearth

Postby CelticWarrior » Wed Sep 20, 2017 10:53 pm

Now it loads the login screen at least. However, when I type in my username and password and click login, it gives the error message below. I think it has something to do with the certificate.
You do not have the required permissions to view the files attached to this post.
CelticWarrior
 
Posts: 10
Joined: Sat Sep 16, 2017 2:22 am

Next

Return to How do I?

Who is online

Users browsing this forum: Claude [Bot] and 82 guests