<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Transition Technology: Ticket #895: HTTPS wildcard *.transitionnnetwork.org expires on 22nd January 2016</title>
    <link>http://localhost:8080/trac/ticket/895</link>
    <description>&lt;p&gt;
Unless I hear otherwise I'll renew the &lt;tt&gt;*.transitionnnetwork.org&lt;/tt&gt; cert which is used by &lt;a class="wiki" href="http://localhost:8080/trac/wiki/PuffinServer"&gt;PuffinServer&lt;/a&gt;, &lt;a class="wiki" href="http://localhost:8080/trac/wiki/PenguinServer"&gt;PenguinServer&lt;/a&gt; and &lt;a class="wiki" href="http://localhost:8080/trac/wiki/ParrotServer"&gt;ParrotServer&lt;/a&gt; at a cost of &lt;a class="ext-link" href="https://www.webarch.net/certs"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;£130.50&lt;/a&gt; on or before the 22nd January 2016 when the &lt;a class="ext-link" href="https://www.ssllabs.com/ssltest/analyze.html?d=transitionnetwork.org&amp;amp;latest"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;current one expires&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
An alternative would be to use &lt;a class="new ticket" href="http://localhost:8080/trac/ticket/875" title="maintenance: Free HTTPS certificates from Let's Encrypt (new)"&gt;Free HTTPS certificates from Let's Encrypt&lt;/a&gt; but this would take some time to set up as &lt;a class="ext-link" href="https://www.letsencrypt.org/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;Let's Encrypt&lt;/a&gt; don't provide wild card certs.
&lt;/p&gt;
</description>
    <language>en-us</language>
    <image>
      <title>Transition Technology</title>
      <url>/trac/chrome/site/TransitionNetwork-Logo-Web-Small.jpg</url>
      <link>http://localhost:8080/trac/ticket/895</link>
    </image>
    <generator>Trac 0.12.5</generator>
    <item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Fri, 22 Jan 2016 13:43:08 GMT</pubDate>
      <title>hours, status, totalhours changed; resolution set</title>
      <link>http://localhost:8080/trac/ticket/895#comment:1</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/895#comment:1</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;1.25&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;new&lt;/em&gt; to &lt;em&gt;closed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;resolution&lt;/strong&gt;
                set to &lt;em&gt;fixed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;1.25&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Switching to using a SHA2 Intermediate Certificate, on &lt;a class="wiki" href="http://localhost:8080/trac/wiki/PenguinServer"&gt;PenguinServer&lt;/a&gt;, generating a CSR:
&lt;/p&gt;
&lt;pre class="wiki"&gt;cd /etc/ssl/transitionnetwork.org
mkdir 2016
cd 2016
openssl req -nodes -newkey rsa:2048 -sha256 -keyout transitionnetwork.org.key -out transitionnetwork.org.csr
&lt;/pre&gt;&lt;p&gt;
Getting the intermediate certs and setting up the .pem files:
&lt;/p&gt;
&lt;pre class="wiki"&gt;wget https://www.gandi.net/static/CAs/GandiStandardSSLCA2.pem -O GandiStandardSSLCA2.pem
wget http://crt.usertrust.com/USERTrustRSAAddTrustCA.crt -O USERTrustRSAAddTrustCA.crt
openssl x509 -inform DER -in USERTrustRSAAddTrustCA.crt -out USERTrustRSAAddTrustCA.pem
cat GandiStandardSSLCA2.pem &amp;gt;&amp;gt; gandi.pem
cat USERTrustRSAAddTrustCA.pem &amp;gt; gandi.pem
cat transitionnetwork.org.crt &amp;gt; transitionnetwork.org.pem
cat transitionnetwork.org.key &amp;gt;&amp;gt; transitionnetwork.org.pem
cat transitionnetwork.org.crt &amp;gt; transitionnetwork.org.chained.pem
cat GandiStandardSSLCA2.pem &amp;gt;&amp;gt; transitionnetwork.org.chained.pem
cat USERTrustRSAAddTrustCA.pem &amp;gt;&amp;gt; transitionnetwork.org.chained.pem
&lt;/pre&gt;&lt;p&gt;
The above however is causing chain errors at both &lt;a class="ext-link" href="https://www.ssllabs.com/ssltest/index.html"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://www.ssllabs.com/ssltest/index.html&lt;/a&gt; and &lt;a class="ext-link" href="https://www.digicert.com/help/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://www.digicert.com/help/&lt;/a&gt; and it took a while to work out why, but the Gandi wiki &lt;a class="ext-link" href="https://wiki.gandi.net/en/ssl/intermediate#sha2_intermediate_certificates"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://wiki.gandi.net/en/ssl/intermediate#sha2_intermediate_certificates&lt;/a&gt; hasn't been updated to say that the &lt;a class="ext-link" href="https://www.gandi.net/static/CAs/GandiStandardSSLCA2.pem"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://www.gandi.net/static/CAs/GandiStandardSSLCA2.pem&lt;/a&gt; file already contains a pem version of &lt;a class="ext-link" href="http://crt.usertrust.com/USERTrustRSAAddTrustCA.crt"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://crt.usertrust.com/USERTrustRSAAddTrustCA.crt&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Test results:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;a class="ext-link" href="https://www.ssllabs.com/ssltest/analyze.html?d=trac.transitionnetwork.org&amp;amp;s=81.95.52.111"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://www.ssllabs.com/ssltest/analyze.html?d=trac.transitionnetwork.org&amp;amp;s=81.95.52.111&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
Syncing the files to the other servers, after changing &lt;tt&gt;PermitRootLogin no&lt;/tt&gt; to &lt;tt&gt;yes&lt;/tt&gt; for sshd and then switching it back afterwards:
&lt;/p&gt;
&lt;pre class="wiki"&gt;rsync -av /etc/ssl/transitionnetwork.org/ parrot:/etc/ssl/transitionnetwork.org/
rsync -av /etc/ssl/transitionnetwork.org/ puffin:/etc/ssl/transitionnetwork.org/
&lt;/pre&gt;&lt;p&gt;
Restart the web servers and test:
&lt;/p&gt;
&lt;p&gt;
Testing:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;a class="ext-link" href="https://cop21.transitionnetwork.org/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://cop21.transitionnetwork.org/&lt;/a&gt;
&lt;/li&gt;&lt;li&gt;&lt;a class="ext-link" href="https://www.ssllabs.com/ssltest/analyze.html?d=cop21.transitionnetwork.org&amp;amp;s=81.95.52.43&amp;amp;latest"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://www.ssllabs.com/ssltest/analyze.html?d=cop21.transitionnetwork.org&amp;amp;s=81.95.52.43&amp;amp;latest&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;&lt;a class="ext-link" href="https://www.transitionnetwork.org/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://www.transitionnetwork.org/&lt;/a&gt;
&lt;/li&gt;&lt;li&gt;&lt;a class="ext-link" href="https://www.ssllabs.com/ssltest/analyze.html?d=transitionnetwork.org"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://www.ssllabs.com/ssltest/analyze.html?d=transitionnetwork.org&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>