<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Add Support for HTTPs and SSL on Omega2]]></title><description><![CDATA[<p dir="auto">We are building an IOT gateway using Omega2 that will require encrypted content over HTTPs, which means we that will need SSL encryption.</p>
<p dir="auto">We can use self signed SSL certificate for now, so no need to purchase one from a CA vendor<br />
Can anyone please point out on Omega2, how can we:</p>
<ul>
<li>generate self signed SSL certificate</li>
<li>apply the certificate to the web server (uhttpd)</li>
<li>enable https in uhttpd?</li>
</ul>
<p dir="auto">Much appreciated.</p>
]]></description><link>http://community.onion.io/topic/2722/add-support-for-https-and-ssl-on-omega2</link><generator>RSS for Node</generator><lastBuildDate>Sat, 14 Mar 2026 11:05:19 GMT</lastBuildDate><atom:link href="http://community.onion.io/topic/2722.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 15 Feb 2018 18:25:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Add Support for HTTPs and SSL on Omega2 on Thu, 15 Feb 2018 18:25:09 GMT]]></title><description><![CDATA[<p dir="auto">We are building an IOT gateway using Omega2 that will require encrypted content over HTTPs, which means we that will need SSL encryption.</p>
<p dir="auto">We can use self signed SSL certificate for now, so no need to purchase one from a CA vendor<br />
Can anyone please point out on Omega2, how can we:</p>
<ul>
<li>generate self signed SSL certificate</li>
<li>apply the certificate to the web server (uhttpd)</li>
<li>enable https in uhttpd?</li>
</ul>
<p dir="auto">Much appreciated.</p>
]]></description><link>http://community.onion.io/post/15967</link><guid isPermaLink="true">http://community.onion.io/post/15967</guid><dc:creator><![CDATA[peterh peterh]]></dc:creator><pubDate>Thu, 15 Feb 2018 18:25:09 GMT</pubDate></item><item><title><![CDATA[Reply to Add Support for HTTPs and SSL on Omega2 on Fri, 16 Feb 2018 09:35:54 GMT]]></title><description><![CDATA[<p dir="auto">For each and every point you listed there is a mass of documentation available.</p>
<p dir="auto">You should be able to install <code>openssl</code> on the Omega2+ (from LEDE repos or directly Omega repos), which gives you the means to generate what every certificate you like. You haven't mentioned what kind of certificate you need, with what cryptographic parameters (RSA/ECC, curves, modulo length, hash algorithm, ciphersuites and key exchanges to be supported,...). Actually you don't even have to install and use <code>openssl</code> on the Omega2+, you can generate the keys and certificates off-site.</p>
<p dir="auto">For web server (and <code>uhttpd-mod-tls</code>) documentation see</p>
<ul>
<li><a href="https://wiki.openwrt.org/doc/uci/uhttpd" rel="nofollow">https://wiki.openwrt.org/doc/uci/uhttpd</a></li>
<li><a href="https://wiki.openwrt.org/doc/howto/certificates.overview" rel="nofollow">https://wiki.openwrt.org/doc/howto/certificates.overview</a></li>
</ul>
<p dir="auto">Introduction to OpenSSL certificate creation: <a href="https://www.digitalocean.com/community/tutorials/openssl-essentials-working-with-ssl-certificates-private-keys-and-csrs" rel="nofollow">https://www.digitalocean.com/community/tutorials/openssl-essentials-working-with-ssl-certificates-private-keys-and-csrs</a></p>
]]></description><link>http://community.onion.io/post/15995</link><guid isPermaLink="true">http://community.onion.io/post/15995</guid><dc:creator><![CDATA[Maximilian Gerhardt]]></dc:creator><pubDate>Fri, 16 Feb 2018 09:35:54 GMT</pubDate></item><item><title><![CDATA[Reply to Add Support for HTTPs and SSL on Omega2 on Sun, 25 Feb 2018 15:14:27 GMT]]></title><description><![CDATA[<p dir="auto">Hi Peter - I think we're headed down similar paths.  How is your progress re: https?</p>
]]></description><link>http://community.onion.io/post/16118</link><guid isPermaLink="true">http://community.onion.io/post/16118</guid><dc:creator><![CDATA[peanut]]></dc:creator><pubDate>Sun, 25 Feb 2018 15:14:27 GMT</pubDate></item><item><title><![CDATA[Reply to Add Support for HTTPs and SSL on Omega2 on Fri, 20 Apr 2018 18:00:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/5155">@peterh-peterh</a> <a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/5271">@peanut</a> Here is the procedure on how to enable HTTPs for uhttpd and generate self-signed certificate.</p>
<ol>
<li>From your command line issue the following commands:</li>
</ol>
<pre><code>opkg update
opkg install px5g-standalone libustream-openssl
</code></pre>
<ol>
<li>Restart the uhttpd service:</li>
</ol>
<pre><code>/etc/init.d/uhttpd restart
</code></pre>
<ol>
<li>When you restart <code>uhttpd</code> service, it generates <code>RSA</code> private key and selfsigned certificate, here is the output that I've got after restarting uhttpd:</li>
</ol>
<pre><code># /etc/init.d/uhttpd restart
4+0 records in
4+0 records out
Generating RSA private key, 2048 bit long modulus
Generating selfsigned certificate with subject 'C=ZZ,ST=Somewhere,L=Unknown,O=LEDEd1d8b179,CN=LEDE,' and validity 20180417162546-20200416162546
</code></pre>
<ol>
<li>Now you can navigate to your browser and type: <code>https://192.168.3.1</code> or <code>https://omega-XXXX.local</code> ( where XXXX are the last digits of your MAC address). Here is my screenshot:<br />
<img src="/assets/uploads/files/1524150502984-7ba7746a-d969-445a-940b-a072790ca6d2-image-resized.png" alt="0_1524150347116_7ba7746a-d969-445a-940b-a072790ca6d2-image.png" class="img-responsive img-markdown" /></li>
</ol>
<p dir="auto">Enjoy and Happy Hacking <img src="http://community.onion.io/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=ic093v0mjao" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" title=":)" alt="🙂" /></p>
]]></description><link>http://community.onion.io/post/16607</link><guid isPermaLink="true">http://community.onion.io/post/16607</guid><dc:creator><![CDATA[Pavel Metrokhin]]></dc:creator><pubDate>Fri, 20 Apr 2018 18:00:04 GMT</pubDate></item></channel></rss>