Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.computer > #9853

Re: Untrusted connection(s)

From VanguardLH <V@nguard.LH>
Newsgroups alt.computer
Subject Re: Untrusted connection(s)
Date 2016-03-16 17:45 -0500
Organization Usenet Elder
Message-ID <dku609F7c6jU1@mid.individual.net> (permalink)
References <jHQFy.55850$Gj1.37691@fx17.iad> <dkq72uF63q0U1@mid.individual.net> <dkq76hF64mfU1@mid.individual.net> <HU4Gy.49702$zA4.20569@fx19.iad>

Show all headers | View raw


Robert Baer wrote:

> Since i had the same problems in WinXP FF45.0 i "gave up" and edited
> addressing to http: and all worked. Banks, etc that also use https:
> give NO problems; it is the sites that must work for the average Joe
> on a daily basis that has working https: and my list has
> "specialized" sites - mainly for government contractors.

Could be a site does not want a direct connect to their HTTPS site and
instead wants visitors to first land on their HTTP site.  A Location
header is used at the HTTP site to redirect visitors to the HTTPS site
but the Referer header could still be used by the HTTPS site to check if
you came in direct or came from their HTTP site.  I don't know why a
site would do this but it is possible.  Many sites use Referer (or other
mechanisms, like assigning a window title (to the document, not to your
app's window) that can be read at another page to regulate how you
navigate their site.  Many sites don't like direct connects with what
they consider internal pages to, for example, keep out the bots stealing
their content (that don't respect the robots.txt file).  

If HTTP works to visit a site (http://<site>) but HTTPS does not then
perhaps that site wants you to use HTTP when visiting their site and
will decide if and when they redirect you to their HTTPS site.

Another problem is with the list of CAs (Certificate Authorities) listed
in the certificate store.  Most web-centric apps use the cert store in
the OS (run certmgr.msc to see Windows' cert store); however, Mozilla
decided to use a private cert store within Firefox.  That means you may
not have the required root cert for a CA used by a site cert.  All certs
track to the CA: the issuer of the site cert.  If you don't have the
root CA in the cert store then it is not possible to validate a site
cert.  Firefox's cert store may have a different suite of root CAs than
were recorded in the Windows cert store.  

For example, Avast has a feature that it can interrogate HTTPS traffic
to check for nefarious content.  It can only do that via a MITM (Man In
The Middle) attack where it intercedes in the HTTPS traffic flow.  The
client goes to an HTTPS site but Avast's transparent proxy intercepts
the web traffic by pretending to be the target site.  Avast's proxy
presents its on root cert to the client and effectively completes the
endpoint connections for HTTPS which means Avast can decrypt the
encrypted traffic from the client.  After interrogation, the Avast proxy
connects to the target site and presents its cert as the client's cert
to connect using HTTPS.  So local HTTPS traffic gets intercepted and
decrypted by Avast to inspect for malicious content and then re-encrypts
the traffic to perform an HTTPS connect to the target site (so external
traffic to your host is still protected by encryption).  Companies will
push their own root certs into the OS cert store on the company's
workstations so they can do the same MITM scheme to let the company
interrogate all traffic going across their network.  You might find a
root CA from your company installed on their workstation.  Some users
have even found a "Federal" root CA installed that lets the US gov't be
the root CA; however, this is most likely used for their HTTPS sites
since anyone looking at the cert details and saw a non-gov't site
chained to the Federal cert would know the gov't has tried to pretend
they were someone else's site - and there would be a lot of news about
such easily discovered subtefuge.

As another example, I wanted to get a free e-mail cert from Comodo so I
could digitally sign my e-mails (which affords the recipients a copy of
my public key that they could choose to use to send me encrypted e-mails
- and only I have the private key to decrypt them).  If I use Firefox to
install the e-mail cert, it goes into Firefox's private cert store which
makes it unusable to clients (e.g., MS Outlook) that will look into the
Windows cert store (to get the public key).  I don't use Thunderbird and
I don't know whose cert store that Thunderbird will use.  MS Outlook
uses the Windows cert store.  So to get my e-mail cert into the Windows
cert store, I either have to use Internet Explorer at the Comodo site
(since IE will install certs into the Windows cert store) or use Firefox
but then have to export the e-mail cert from Firefox's private cert
store to then import into the Windows cert store.

Another example is Replay Media Capture (RMC) from Applian (a clone of
Jaksta) that can capture streaming media, like video or audio or both.
It will not work with Firefox with HTTPS sites because the cert that RMC
uses to intercept the encrypted traffic is not in Firefox's private cert
store.  RMC uses the same MITM scheme that Avast uses to inspect HTTPS
traffic.  During install of RMC, it will add its cert into Firefox's
cert store - but only if RMC is installaed *after* Firefox was already
installed.  In my case, I was using RMC for years and later moved to
using Firefox; however, RMC wouldn't work with Firefox (at HTTPS sites).
Discussions with their support revealed a manual procedure for me to get
their cert installed into Firefox's private cert store.  In a later
version, and perhaps due to my discussions and RFE (Request For
Enhancment), they added a feature in their GUI to [re]install their cert
into Firefox's private cert store (although the [re]install feature is
buried rather deep in their GUI and under the HTTP group of options
instead of under an HTTPS group of options).  Using a private
certificate store in Firefox has caused many problems, especially with
apps that assume they will get the cert from the cert store in the OS,
not from within some other app.  

Because Internet Explorer uses the Windows cert store, and because
Firefox has its own private cert store which may not match with the ones
stored in the Windows cert store, is perhaps why IE worked for you but
Firefox did not at an HTTPS site.  I don't know how to force Firefox to
use the Windows cert store instead of its own private cert store.  I
suppose there would be a means of exporting the certs in the Windows
cert store and importing them into Firefox's private cert store but
there would be lots of duplicates (or errors when attempting to
duplicate) and I'm not sure that would work well.  I've not investigated
in how to get Firefox's private cert store synchronized to the Windows
cert store.

Firefox has its own private cert store.  That may not match what is in
the Windows cert store.  I don't know why Mozilla decided to use their
own private certificate store in Firefox.  I don't know that the content
of a certificate changes based on the OS under which there is a
certificate store, so I doubt it has anything to do with Firefox
supporting multiple OSes (Windows, Linux).  Mozilla might be the only
entity that knows why they went with the stupidity of a private
certificate store.  It does cause problems with certs.

Firefox: Options -> Advanced group -> Certificates tab
         View Certificates
         
Those certificates are ONLY within the private cert store of Firefox.
They are NOT the certificates installed in the Windows cert store.  Both
Internet Explorer (obvious) and Google Chrome use the Windows cert
store.  Why does Mozilla have to be an asshole?  I've not seen mention
by Mozilla that they consider the Windows cert store as crippled,
insecure, or given any reason why they want to use their own private
cert store.  The only excuse that I've seen from Mozilla is that they
want to use their own NSS (Network Security Service) tools to develop
for cross-platform support.  Mozilla wants you using their NSS tools 
(e.g., certutil - https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Tools/certutil) 
to manage their database - because they have a separate database instead
of using the one in the OS.  Gee, Google Chrome can figure out how to
read the OS cert store for different OSes but Mozilla cannot.  While
Firefox is [currently] my go-to web browser doesn't mean that it is
without flaws, deficiencies, or stupidities.

https://www.mozilla.org/en-US/about/governance/policies/security-group/certs/

Tis rather hard to analyze generally from a non-descript error page
rather than visit an actual site.  Do none of the gov't contractors have
publicly visible and publicly accessible web sites that you visit in
your list?

Back to alt.computer | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Untrusted connection(s) Robert Baer <robertbaer@localnet.com> - 2016-03-15 02:35 -0800
  Re: Untrusted connection(s) VanguardLH <V@nguard.LH> - 2016-03-15 05:39 -0500
    Re: Untrusted connection(s) VanguardLH <V@nguard.LH> - 2016-03-15 05:41 -0500
      Re: Untrusted connection(s) Robert Baer <robertbaer@localnet.com> - 2016-03-15 21:01 -0800
        Re: Untrusted connection(s) VanguardLH <V@nguard.LH> - 2016-03-16 17:45 -0500

csiph-web