Article View: alt.free.newsservers
Article #160889Re: Question for network gurus on how to set up mixmin SSL certificates for NewsTap on iOS
From: Winston_Smith
Date: Sat, 26 Sep 2015 07:17
Date: Sat, 26 Sep 2015 07:17
98 lines
5698 bytes
5698 bytes
On Sat, 26 Sep 2015 02:16:44 +1200, David Empson wrote:
> Now he is just obsessed with how NewsTap (paid version) can claim to be
> connecting via SSL when the root certificate used by mixmin is signed
> with MD5 and should therefore not be trusted by iOS 5 or later.
Hi David,
As you know from the private emails with both the developer of NewsTap and
with the sysadmin of Mixmin, apparently no one of us fully understands
the situation well enough to perfectly tie together the 3 elements that
are intricately involved, namely:
A. The fact that iOS does not trust MD5-signed certificates
B. The fact that NewsTap uses the network layer of iOS
C. The actual certificates (SHA-signed & MD5-signed) that Mixmin uses
However, you (and Dunno) have provided convincing evidence that "something"
is not what it appears to be, in that you are clearly able to post when
the developer intimates that you shouldn't be able to.
Given that, I think this post below by me, and the resulting clarification
by Michael Baeuerle begins to line up the datapoints, such that the enigma
can be solved soon.
-------- Here were my test results that I reported yesterday -----------
This web site gives us another reliable datapoint:
https://www.sslshopper.com/article-check-ssl-certificates-for-the-vulnerable-md5-algorithm.html
Entering "news.mixmin.net:563" into the test box, outputs the following:
http://i.imgur.com/bh8W4Wg.jpg
SERVER:
Common name: news.mixmin.net
SANs: news.mixmin.net, othername:<unsupported>
Valid from May 19, 2015 to November 15, 2015
Serial Number: 1092736 (0x10ac80)
Signature Algorithm: sha512WithRSAEncryption <--- critical to note the SHA!
Issuer: CA Cert Signing Authority
CHAIN:
Common name: CA Cert Signing Authority
Organization: Root CA
Valid from March 30, 2003 to March 29, 2033
Serial Number: 0 (0x0)
Signature Algorithm: md5WithRSAEncryption <--- Michael says this is not the issue!
Issuer: CA Cert Signing Authority
-------- here is Michael Baeuerle's explanation -------------
In this case there is no problem with MD5 because it is only used for
the self signature of the root certificate.
And the self signature of the root certificate doesn't need to be checked
because it is always trusted as long as it is installed on the system.
A few month ago I made the same mistake and believed that the signature
algorithm listed in the root certificate is the one used to sign other
certificates. But this is not the case!
What is used to sign the servers certificate is the RSA key from the
root certificate (that has 4096 bit and can be considered strong) and
the hash algorithm SHA512 (that can be considered strong too).
I have implemented this into my newsreader with some diagnostic output.
For Mixmin it shows this:
|
| flnews: TLS: OpenSSL library version: 1.0.2d (0x1000204F)
| flnews: TLS: Location of X.509 CRLs: ~/.flnews/crls/
| flnews: TLS: Using protocol: TLSv1.2 with cipher suite DHE-RSA-AES256-GCM-SHA384
| flnews: TLS: Signature algorithm for key exchange: RSA-SHA512
| flnews: TLS: DH parameter size: 1024 bit
| flnews: TLS: Warning: DH parameters should be at least 3072 bit
| flnews: TLS: Certificate level 0 (Server) in chain:
| flnews: TLS: RSA key modulus size: 2048 bit
| flnews: TLS: Warning: RSA key modulus should be at least 3072 bit
| flnews: TLS: Signature algorithm: RSA-SHA512
| flnews: TLS: Certificate level 1 (Root) in chain:
| flnews: TLS: RSA key modulus size: 4096 bit
| flnews: TLS: Self signature is not used
^^^^^^^^^^^^^^^^^^^^^^^^^^
| [...]
The MD5 based signature of the root certificate is not a problem, it
would be a problem if the server certificate has such a signature.
What iOS is documented to reject should be such cases.
The RSA key of the server certificate has 2048 bit and should be strong
enough, but the really weak point in the above example is the DHE key
exchange (for the symmetric AES256 key).
Because iOS maybe negotiate another algorithm for key exchange, this may
be different on Apple devices!
Note that the warnings above are based on the AES128 symmetric cipher
as reference. Anything that the NIST consider as weaker in [1] generates
such a warning. If you don't agree with the NIST ratings, the warnings
are meaningless.observation
Technical Details
Message-ID:
<mu5gr0$kni$1@news.mixmin.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.mobile.ipad.(72287).mbox.7z!not-for-mailReferences:
<mtppat$2c8$1@news.mixmin.net> <mtvqp2$8k9$2@news.mixmin.net> <mu04va$t6q$1@news.mixmin.net> <mu25c9$o7g$1@news.mixmin.net> <mu2b6i$48c$1@news.mixmin.net> <mu2v1n$5fr$1@news.mixmin.net> <2039180121464862224.541675dempson-actrix.gen.nz@news.mixmin.net> <1mbbrma.1vge7j7e6iw8wN%jamiekg@wizardling.geek.nz> <1mbc3be.qnnw5v1ayd8srN%dempson@actrix.gen.nz>Show Full Headers
Complete Article Headers
Message-ID: <mu5gr0$kni$1@news.mixmin.net> Subject: Re: Question for network gurus on how to set up mixmin SSL certificates for NewsTap on iOS Date: Sat, 26 Sep 2015 07:17:53 +0000 From: Winston_Smith <invalid@butterfly.net> References: <mtppat$2c8$1@news.mixmin.net> <mtvqp2$8k9$2@news.mixmin.net> <mu04va$t6q$1@news.mixmin.net> <mu25c9$o7g$1@news.mixmin.net> <mu2b6i$48c$1@news.mixmin.net> <mu2v1n$5fr$1@news.mixmin.net> <2039180121464862224.541675dempson-actrix.gen.nz@news.mixmin.net> <1mbbrma.1vge7j7e6iw8wN%jamiekg@wizardling.geek.nz> <1mbc3be.qnnw5v1ayd8srN%dempson@actrix.gen.nz> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.mobile.ipad.(72287).mbox.7z!not-for-mail Newsgroups: alt.free.newsservers,alt.os.linux,comp.mobile.ipad Organization: Mixmin Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sat, 26 Sep 2015 07:17:53 +0000 (UTC) Injection-Info: news.mixmin.net; posting-host="14ff61b0716c96464fb07221a066159d69e7ec8c"; logging-data="21234"; mail-complaints-to="abuse@mixmin.net" X-Received-Bytes: 5524 X-Received-Body-CRC: 3502936620