<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for Jethro Carr</title>
	<atom:link href="http://www.jethrocarr.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jethrocarr.com</link>
	<description>Personal blog of geekiness</description>
	<lastBuildDate>Sat, 18 May 2013 16:13:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>Comment on Mozilla Sync Server RPMs by Jethro Carr</title>
		<link>http://www.jethrocarr.com/2012/03/04/mozilla-sync-server-rpms/#comment-43759</link>
		<dc:creator>Jethro Carr</dc:creator>
		<pubDate>Sat, 18 May 2013 16:13:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.jethrocarr.com/?p=1590#comment-43759</guid>
		<description><![CDATA[I haven&#039;t sorry - I&#039;m planning to spend some time in the next week or two building the latest release and QA testing the RPMs before releasing, so will include the captcha stuff in my tests to see if a) it works and b) if not, how to fix it. :-)]]></description>
		<content:encoded><![CDATA[<p>I haven&#8217;t sorry &#8211; I&#8217;m planning to spend some time in the next week or two building the latest release and QA testing the RPMs before releasing, so will include the captcha stuff in my tests to see if a) it works and b) if not, how to fix it. :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Mozilla Sync Server RPMs by Patrick Smears</title>
		<link>http://www.jethrocarr.com/2012/03/04/mozilla-sync-server-rpms/#comment-43754</link>
		<dc:creator>Patrick Smears</dc:creator>
		<pubDate>Sat, 18 May 2013 10:47:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.jethrocarr.com/?p=1590#comment-43754</guid>
		<description><![CDATA[Thanks for this - saved me a huge amount of work :-)

Did you look at getting the captcha facility to work? When I enabled it I got an unhelpful error on the front end (basically &quot;crash id&quot; plus an md5 hash) when trying to set up sync. After some debugging I think the mako templating system is trying to store its &quot;compiled&quot; templates in somewhere that&#039;s not writable. (For now I&#039;ve just turned captcha back off, but I&#039;d be interested to know whether you&#039;d had more success than me :-) )]]></description>
		<content:encoded><![CDATA[<p>Thanks for this &#8211; saved me a huge amount of work :-)</p>
<p>Did you look at getting the captcha facility to work? When I enabled it I got an unhelpful error on the front end (basically &#8220;crash id&#8221; plus an md5 hash) when trying to set up sync. After some debugging I think the mako templating system is trying to store its &#8220;compiled&#8221; templates in somewhere that&#8217;s not writable. (For now I&#8217;ve just turned captcha back off, but I&#8217;d be interested to know whether you&#8217;d had more success than me :-) )</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Custom CA certificates &amp; Android by Jethro Carr</title>
		<link>http://www.jethrocarr.com/2012/01/04/custom-ca-certificates-and-android/#comment-43717</link>
		<dc:creator>Jethro Carr</dc:creator>
		<pubDate>Fri, 17 May 2013 10:30:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.jethrocarr.com/?p=1247#comment-43717</guid>
		<description><![CDATA[I suspect the issue is that your CA certificate is missing some attribute that Android is expecting, such as the  X509v3 extension, so it believe it&#039;s a user certificate.

Note that PKCS#12 files can have two different passwords - the password for the key inside the file and the password for an encrypted PKCS#12 file itself... it may be that Android is asking for one and you&#039;re giving the password for another.

But PKCS#12 is definitely not the right format for a CA, you would never be importing a private key for a CA. :-)]]></description>
		<content:encoded><![CDATA[<p>I suspect the issue is that your CA certificate is missing some attribute that Android is expecting, such as the  X509v3 extension, so it believe it&#8217;s a user certificate.</p>
<p>Note that PKCS#12 files can have two different passwords &#8211; the password for the key inside the file and the password for an encrypted PKCS#12 file itself&#8230; it may be that Android is asking for one and you&#8217;re giving the password for another.</p>
<p>But PKCS#12 is definitely not the right format for a CA, you would never be importing a private key for a CA. :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Custom CA certificates &amp; Android by Jethro Carr</title>
		<link>http://www.jethrocarr.com/2012/01/04/custom-ca-certificates-and-android/#comment-43716</link>
		<dc:creator>Jethro Carr</dc:creator>
		<pubDate>Fri, 17 May 2013 10:25:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.jethrocarr.com/?p=1247#comment-43716</guid>
		<description><![CDATA[&quot;Android supports DER-encoded X.509 certificates, saved in files with a .crt file extension (if your certificate file has a .cer, .der, or other extension, you must change it to .crt or you won’t be able to install it).&quot;

So that&#039;s exactly what my instructions do - creates a DER format certificate with a .crt file extension.

I think the confusion around DER certificates is that they state you can&#039;t import a .der file extension - the file can be in DER format, but must end with .crt. But that&#039;s just their code only looking for certain extensions, the filename has no bearing on the format of the contents.]]></description>
		<content:encoded><![CDATA[<p>&#8220;Android supports DER-encoded X.509 certificates, saved in files with a .crt file extension (if your certificate file has a .cer, .der, or other extension, you must change it to .crt or you won’t be able to install it).&#8221;</p>
<p>So that&#8217;s exactly what my instructions do &#8211; creates a DER format certificate with a .crt file extension.</p>
<p>I think the confusion around DER certificates is that they state you can&#8217;t import a .der file extension &#8211; the file can be in DER format, but must end with .crt. But that&#8217;s just their code only looking for certain extensions, the filename has no bearing on the format of the contents.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Custom CA certificates &amp; Android by Andrew</title>
		<link>http://www.jethrocarr.com/2012/01/04/custom-ca-certificates-and-android/#comment-43700</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Fri, 17 May 2013 02:03:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.jethrocarr.com/?p=1247#comment-43700</guid>
		<description><![CDATA[When I would pull my DER format cert in, I got the same dialogs as you but no mention of a CA. Just &quot;package contains: one user cert&quot;. Reading up on line seemed to suggest that this was a result of using the DER format and to get it to be treated as a CA you had to use PKCS#12. PKCS#12 usually expects there to be a private key somewhere in the file, and while you can produce files without such, it usually causes certain software to misbehave. Android will endlessly prompt for the password to the file even if you give the correct password, for instance.]]></description>
		<content:encoded><![CDATA[<p>When I would pull my DER format cert in, I got the same dialogs as you but no mention of a CA. Just &#8220;package contains: one user cert&#8221;. Reading up on line seemed to suggest that this was a result of using the DER format and to get it to be treated as a CA you had to use PKCS#12. PKCS#12 usually expects there to be a private key somewhere in the file, and while you can produce files without such, it usually causes certain software to misbehave. Android will endlessly prompt for the password to the file even if you give the correct password, for instance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Custom CA certificates &amp; Android by Andrew</title>
		<link>http://www.jethrocarr.com/2012/01/04/custom-ca-certificates-and-android/#comment-43699</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Fri, 17 May 2013 02:01:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.jethrocarr.com/?p=1247#comment-43699</guid>
		<description><![CDATA[I&#039;m willing to bet the bit about X509v3 may be my particular issue (which, if so, thanks!), but &lt;a href=&quot;https://support.google.com/android/bin/answer.py?hl=en&amp;answer=168934&quot; rel=&quot;nofollow&quot;&gt;this&lt;/a&gt;, from Google themselves, sure seems to suggest that PKCS#12 is required, and that sentiment seems -- if nothing else, implied, by various posts, e.g. on StackOverflow.

Misleading documentation and subtle bugs seem to be Android&#039;s thing, sometimes.]]></description>
		<content:encoded><![CDATA[<p>I&#8217;m willing to bet the bit about X509v3 may be my particular issue (which, if so, thanks!), but <a href="https://support.google.com/android/bin/answer.py?hl=en&amp;answer=168934" rel="nofollow">this</a>, from Google themselves, sure seems to suggest that PKCS#12 is required, and that sentiment seems &#8212; if nothing else, implied, by various posts, e.g. on StackOverflow.</p>
<p>Misleading documentation and subtle bugs seem to be Android&#8217;s thing, sometimes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Custom CA certificates &amp; Android by Jethro Carr</title>
		<link>http://www.jethrocarr.com/2012/01/04/custom-ca-certificates-and-android/#comment-43681</link>
		<dc:creator>Jethro Carr</dc:creator>
		<pubDate>Thu, 16 May 2013 13:10:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.jethrocarr.com/?p=1247#comment-43681</guid>
		<description><![CDATA[I&#039;ve added some notes for anyone wanting to use Firefox Mobile with a custom CA:
http://www.jethrocarr.com/2013/05/17/firefox-mobile-for-android-cas/

Essentially download a PEM format CA certificate using the browser and it will prompt with an install option. Easy as! :-)]]></description>
		<content:encoded><![CDATA[<p>I&#8217;ve added some notes for anyone wanting to use Firefox Mobile with a custom CA:<br />
<a href="http://www.jethrocarr.com/2013/05/17/firefox-mobile-for-android-cas/" rel="nofollow">http://www.jethrocarr.com/2013/05/17/firefox-mobile-for-android-cas/</a></p>
<p>Essentially download a PEM format CA certificate using the browser and it will prompt with an install option. Easy as! :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Custom CA certificates &amp; Android by Jethro Carr</title>
		<link>http://www.jethrocarr.com/2012/01/04/custom-ca-certificates-and-android/#comment-43678</link>
		<dc:creator>Jethro Carr</dc:creator>
		<pubDate>Thu, 16 May 2013 12:40:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.jethrocarr.com/?p=1247#comment-43678</guid>
		<description><![CDATA[Actually the stock browser might still have an old cert from previously as I think it has it&#039;s own (hidden) CA store... but the other apps verify it regardless.]]></description>
		<content:encoded><![CDATA[<p>Actually the stock browser might still have an old cert from previously as I think it has it&#8217;s own (hidden) CA store&#8230; but the other apps verify it regardless.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Custom CA certificates &amp; Android by Jethro Carr</title>
		<link>http://www.jethrocarr.com/2012/01/04/custom-ca-certificates-and-android/#comment-43677</link>
		<dc:creator>Jethro Carr</dc:creator>
		<pubDate>Thu, 16 May 2013 12:37:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.jethrocarr.com/?p=1247#comment-43677</guid>
		<description><![CDATA[I can&#039;t comment on what the Android documentation says, but this works for me. I even just re-tested in a moment of paranoia that it&#039;s no longer valid on the newer Android versions by deleting and re-importing my keys using the above method. I&#039;ve updated the post with screenshot. :-)

I have a number of apps that validate the CA correctly (aNag, Wordpress and the stock Android browser). Note that additional addon browsers (eg Firefox) may not work, it seems they don&#039;t read the Android certificate store and can&#039;t validate the CA cert.

Be careful with terminology, these instructions are to import a certification authority. Anything else like self-signed standalone certs, user certs, keys, CA keys (!!) I have no idea about.

Also note that it&#039;s possible that Android doesn&#039;t accept CAs if generated the &quot;wrong&quot; way. My certs all include the X509v3 extension &quot;X509v3 Basic Constraints: CA:TRUE&quot;, the absence of which has sometimes caused problems in the past with certain systems (glares at Solaris).]]></description>
		<content:encoded><![CDATA[<p>I can&#8217;t comment on what the Android documentation says, but this works for me. I even just re-tested in a moment of paranoia that it&#8217;s no longer valid on the newer Android versions by deleting and re-importing my keys using the above method. I&#8217;ve updated the post with screenshot. :-)</p>
<p>I have a number of apps that validate the CA correctly (aNag, WordPress and the stock Android browser). Note that additional addon browsers (eg Firefox) may not work, it seems they don&#8217;t read the Android certificate store and can&#8217;t validate the CA cert.</p>
<p>Be careful with terminology, these instructions are to import a certification authority. Anything else like self-signed standalone certs, user certs, keys, CA keys (!!) I have no idea about.</p>
<p>Also note that it&#8217;s possible that Android doesn&#8217;t accept CAs if generated the &#8220;wrong&#8221; way. My certs all include the X509v3 extension &#8220;X509v3 Basic Constraints: CA:TRUE&#8221;, the absence of which has sometimes caused problems in the past with certain systems (glares at Solaris).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Custom CA certificates &amp; Android by Andrew</title>
		<link>http://www.jethrocarr.com/2012/01/04/custom-ca-certificates-and-android/#comment-43651</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Wed, 15 May 2013 22:32:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.jethrocarr.com/?p=1247#comment-43651</guid>
		<description><![CDATA[Have you actually followed these directions? Because pretty much everywhere you look, including Android&#039;s own help documents, it says DER format won&#039;t import CA certificates (or private keys), only client certs, which is not what most people are looking for (most people are seeking to avoid self-sign warnings, and that&#039;s what your directions imply). 

To add certification authorities you have to use PKCS#12 format. That leads to other frustrating Android bugs (expecting a password even if one isn&#039;t there, and even at that, the output of OpenSSL seems to not have a valid password no matter what). 

If you have actually gotten apps to use your self-signed web server certs, I&#039;d love to hear about it. Because what you are saying -- that you have imported CA certificates by DER -- is by all accounts not technically possible in Android.]]></description>
		<content:encoded><![CDATA[<p>Have you actually followed these directions? Because pretty much everywhere you look, including Android&#8217;s own help documents, it says DER format won&#8217;t import CA certificates (or private keys), only client certs, which is not what most people are looking for (most people are seeking to avoid self-sign warnings, and that&#8217;s what your directions imply). </p>
<p>To add certification authorities you have to use PKCS#12 format. That leads to other frustrating Android bugs (expecting a password even if one isn&#8217;t there, and even at that, the output of OpenSSL seems to not have a valid password no matter what). </p>
<p>If you have actually gotten apps to use your self-signed web server certs, I&#8217;d love to hear about it. Because what you are saying &#8212; that you have imported CA certificates by DER &#8212; is by all accounts not technically possible in Android.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using memcached
Page Caching using memcached
Database Caching using memcached
Object Caching 282/282 objects using memcached
Application Monitoring using New Relic

 Served from: www.jethrocarr.com @ 2013-05-19 11:24:47 by W3 Total Cache -->