Buffalo Forums

Products => Storage => : marco3253 January 11, 2019, 06:22:39 AM

: Buffalonas blocked by browser for an untrusted certificate
: marco3253 January 11, 2019, 06:22:39 AM
Hi guys, this is pretty new to me.
I have two customers, both got a Buffalo Station Link Duo (don't think the version are pretty the same cause i bought them 3 years distance each other)
Anyway on the last customer i can't get the remote browsing work.

The port on the router are correct, prove of this is the app on the iPhone working (from another internet source, not lan).
But when i connect to buffalonas.com and type the ID i choose, the browser tells me that "the connection is not in a private modality" (i'm translating the message as in italian appears into the browser.
and also: "the website can assume the identity of xx.xx.xx.xx (ip address) to catch personal or financial informations bla bla bla"
there is nothing i can do to say "ok trust this" just i can go back to the buffalonas.com page.

The strange thing is that the first customer, with an older version of the station, is perfectly working from the same browser...

So what's happening, there is something wrong with this new NAS ?

Thank you
: Re: Buffalonas blocked by browser for an untrusted certificate
: 1000001101000 January 11, 2019, 06:50:49 AM
Take a look at the certificate that’s being regected, it should tell you a lot. If the cert is expired, using an outdated hash like sha1, or is from an untrusted issuer you should be able to see what’s going on and work from there.
: Re: Buffalonas blocked by browser for an untrusted certificate
: Texturtle January 11, 2019, 08:57:06 AM
The most likely thing is that the customer with no errors is not using HTTPS. Every Buffalo NAS has a certificate pre-installed, but it's self-signed by Buffalo and therefore will never be considered a "trusted" certificate by any browser.

The reason is that a self-signed cert can't be verified to belong to the assumed owner of the site. Data transfers are still encrypted, and as long you know for sure you're connecting to the correct site it's still technically secure, but every browser will tell you it isn't.

The only way to correct that is to install a valid certificate.
: Re: Buffalonas blocked by browser for an untrusted certificate
: marco3253 January 21, 2019, 07:07:46 AM
Hi Guys and thank you for the answers.
I didn't forget to reply to you, i was just taking some days to make some tests.

I guess the certificate should be released from buffalonas.com website, because it's the website where i'm connecting to, then there is the redirect. Anyway, i tried but there is no "https" at the beginning of the string.
This is a video of what's happening. The first working is relative to the customer1, installed 3 years ago still working with no problem.
The customer 2 as you can see i'm unable to connect, also with different browsers.
The configuration on the router is correct, the prove of this is that the APP on the iPhone is working.

What should I do?

Here's the video on youtube: https://youtu.be/qeFyIFGyGsg
: Re: Buffalonas blocked by browser for an untrusted certificate
: Texturtle January 21, 2019, 08:59:43 AM
It would appear that the second browser is set to not allow HTTP connections, only HTTPS.
: Re: Buffalonas blocked by browser for an untrusted certificate
: marco3253 January 22, 2019, 02:43:55 AM
It would appear that the second browser is set to not allow HTTP connections, only HTTPS.

They're not different browsers, it's Safari on a Macbook. I tried also with Chrome but the results are the same.
What change from first test to the second one it's the customer (different NAS different Router different ISP).
On the App for iPhone it's working, so it's something related to http connections, maybe the App talks on another port.

There is not official support for this? The NAS is new.
: Re: Buffalonas blocked by browser for an untrusted certificate
: marco3253 January 31, 2019, 10:20:49 AM
Come on guys, i really don't know what to do.

: Re: Buffalonas blocked by browser for an untrusted certificate
: 1000001101000 January 31, 2019, 12:35:45 PM
Finally watched your video.

My italian isn’t great but it appears to day it’s blocking because of the outdated hash algorithm (see my previous comment). When you expand the details it shows that the cert uses MD5. That appears to be the issue, at least from the browser’s point of view.
: Re: Buffalonas blocked by browser for an untrusted certificate
: marco3253 February 07, 2019, 04:49:46 AM
Finally watched your video.

My italian isn’t great but it appears to day it’s blocking because of the outdated hash algorithm (see my previous comment). When you expand the details it shows that the cert uses MD5. That appears to be the issue, at least from the browser’s point of view.

yeah ok to ALL, but what should I do? the certificate is given by the buffalo website itself, not from the NAS, so i think i'm not in charge to do anything with that, am I wrong?
: Re: Buffalonas blocked by browser for an untrusted certificate
: Texturtle February 07, 2019, 09:48:32 AM
Actually that certificate is on the NAS. Clearly the browser can get to buffalonas.com, it errors out when attempting to access the actual webaccess name, which redirects to the NAS.

You'll need to add an exception for that site to the browser to allow access to that site.

The reason that the browser won't trust a self-signed certificate is because that means you could be going to a "fake" website. Since you know that this site is what it claims to be (the NAS you have set up for webaccess) there's no risk in adding the exception.

How to do that will vary by browser.
: Re: Buffalonas blocked by browser for an untrusted certificate
: marco3253 February 26, 2019, 02:00:46 AM
Thank you for your answer.

As explained here: https://tosbourn.com/getting-os-x-to-trust-self-signed-ssl-certificates/
you can add an exception, but you need to access to the certificate file. I don't think this file is stored into the NAS, i mean, yes it is but I don't think is accessible.

: Re: Buffalonas blocked by browser for an untrusted certificate
: Texturtle February 26, 2019, 09:51:37 AM
This appears to be instructions to install a self signed cert on an OS-X system. You don't necessarily need the OS to trust it, you need Safari to trust it. Alternatively, you could install a different browser on the system.
: Re: Buffalonas blocked by browser for an untrusted certificate
: marco3253 June 10, 2019, 04:17:24 PM
I guess we are not catching the right point of view. Why should i reach a website only if there is a certificate installed on it? i can access various websites without https, and they work!
So why this NAS is giving me this problems, and another one is not?
: Re: Buffalonas blocked by browser for an untrusted certificate
: 1000001101000 June 10, 2019, 05:20:43 PM
Basically the same technology that ensures you’re really connecting to paypal and not a fake site hosted by a scammer on the same wifi as you. It’s the authenticate part of authenticate and encrypt.

Here’s a good resource for understanding the underlying tech:
https://www.websecurity.symantec.com/content/dam/websitesecurity/digitalassets/desktop/pdfs/whitepaper/beginners-guide-to-SSL-certificates_WP.pdf

Back when this service was created browsers/OS were less aggressive about enforcing un-authenticated encryption than they are now. Unfortunately fully fixing the issue requires doing things buffalo can’t do for you (getting a domain name and an ssl cert from certificate authority). 
: Re: Buffalonas blocked by browser for an untrusted certificate
: marco3253 June 11, 2019, 04:25:03 AM
this is crazy, the other working buffalo is 3 years older than this! this was bought just 1 year ago.