Article View: alt.free.newsservers
Article #160786Re: Question for network gurus on how to set up mixmin SSL certificates for NewsTap on iOS
From: Winston_Smith
Date: Wed, 23 Sep 2015 17:23
Date: Wed, 23 Sep 2015 17:23
65 lines
4043 bytes
4043 bytes
On Wed, 23 Sep 2015 12:11:42 +0000, Michael Baeuerle wrote:
> Yes, but a complete certificate chain check is much more complicated.
Hi Michael,
This is GREAT information! Thanks for taking the time to help out
with this SSL networking issue, because the goal is to ADD the necessary
certificate to fix the iOS networking layer issues that prevent any
news agent from working on iOS properly with Mixmin.
This networking stuff is new (and a little confusing) to me, and
you know so much that I have never been exposed to before, so, may
I presume to ask you if my reflection on your technique is correct?
--- Is this the correct procedure to validate certificate chains? ---
There are three steps for checking the chain of certificates.
1. You first determine the number of certificates in the chain
2. Then you check for valid dates & no revocations in the chain
3. Lastly, you check that the certificate was issued for the service
It's that third one that I don't understand the logic for, but,
here is how I would repeat your tests on the first two.
1. The number of certificates is two by virtue of the fact there is a
"0" and a "1" in the "Certificate chain".
$ openssl s_client -connect news.mixmin.net:563 >& mixmin.path
$ geedit mixmin.path
[...]
Certificate chain
0 s:/CN=news.mixmin.net
i:/O=Root CA/OU=http://www.cacert.org/CN=CA Cert Signing Authority/emailAddress=support@cacert.org
1 s:/O=Root CA/OU=http://www.cacert.org/CN=CA Cert Signing Authority/emailAddress=support@cacert.org
i:/O=Root CA/OU=http://www.cacert.org/CN=CA Cert Signing Authority/emailAddress=support@cacert.org
[...]
2. Both certificates in the Mixmin chain are currently valid by
virtue of the fact that the current date is between the before
and after dates below.
$ openssl s_client -connect news.mixmin.net:563 >& mixmin.path
$ openssl x509 -in mixmin.path -noout -text >& mixmin.pem
$ geedit mixmin.pem
[...]
Validity
Not Before: May 19 08:17:09 2015 GMT
Not After : Nov 15 08:17:09 2015 GMT
[...]
3. And, the certificate issuance is OK:
$ openssl s_client -connect news.mixmin.net:563 >& mixmin.path
$ openssl x509 -in mixmin.path -noout -text >& mixmin.pem
$ geedit mixmin.pem
[...]
Subject: CN=news.mixmin.net
X509v3 Subject Alternative Name: DNS:news.mixmin.net, othername:<unsupported>
[...]
The first two steps were easy to figure out how you got the answer; but how
do I know from the results of the third step that the "certificate issuance
is OK" for the entire chain (or even for one certificate in that chain)?
In short, I am confused what to look for in step 3 above.
How do you know, from those results, that step 3 shows the chain is ok?
Technical Details
Message-ID:
<mtun62$1e7$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> <d6b968F82htU2@mid.individual.net> <mtq07u$ghs$1@news.mixmin.net> <d6bg5mF9o52U1@mid.individual.net> <mtqu9i$cnp$1@news.mixmin.net> <AABWAQtlh/0AAAor.A1.flnews@WStation3.stz-e.de> <mtrv20$et4$1@news.mixmin.net> <AABWAo8aZDYAAAtd.A1.flnews@WStation3.stz-e.de>Show Full Headers
Complete Article Headers
Message-ID: <mtun62$1e7$1@news.mixmin.net> Subject: Re: Question for network gurus on how to set up mixmin SSL certificates for NewsTap on iOS Date: Wed, 23 Sep 2015 17:23:14 +0000 From: Winston_Smith <invalid@butterfly.net> References: <mtppat$2c8$1@news.mixmin.net> <d6b968F82htU2@mid.individual.net> <mtq07u$ghs$1@news.mixmin.net> <d6bg5mF9o52U1@mid.individual.net> <mtqu9i$cnp$1@news.mixmin.net> <AABWAQtlh/0AAAor.A1.flnews@WStation3.stz-e.de> <mtrv20$et4$1@news.mixmin.net> <AABWAo8aZDYAAAtd.A1.flnews@WStation3.stz-e.de> 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: Wed, 23 Sep 2015 17:23:14 +0000 (UTC) Injection-Info: news.mixmin.net; posting-host="b0d6dcf1d5c0f6166b53e7c6f7f829ec6c4e989d"; logging-data="1479"; mail-complaints-to="abuse@mixmin.net" X-Received-Bytes: 3877 X-Received-Body-CRC: 4242715619