<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Lego on Janusworx</title><link>https://janusworx.com/tags/lego/</link><description>Recent content in Lego on Janusworx</description><generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>feedback@janusworx.com (Mario Jason Braganza)</managingEditor><webMaster>feedback@janusworx.com (Mario Jason Braganza)</webMaster><copyright>© 2026, Mario Jason Braganza</copyright><lastBuildDate>Fri, 31 May 2024 06:43:07 +0000</lastBuildDate><atom:link href="https://janusworx.com/tags/lego/index.xml" rel="self" type="application/rss+xml"/><item><title>2024-05-31T06:43:07+0000</title><link>https://janusworx.com/nm/20240531064307/</link><pubDate>Fri, 31 May 2024 06:43:07 +0000</pubDate><author>feedback@janusworx.com (Mario Jason Braganza)</author><guid>https://janusworx.com/nm/20240531064307/</guid><description>&lt;p&gt;Notes to Self on Renewing Wildcard Letsencrypt Certs Manually With Lego&lt;/p&gt;&#10;&lt;br&gt;&#10;&#10;&lt;p&gt;&lt;a href="https://janusworx.com/blog/notes-to-self-on-renewing-wildcard-letsencrypt-certs-manually-with-lego/" target="_blank" rel="noreferrer"&gt;https://janusworx.com/blog/notes-to-self-on-renewing-wildcard-letsencrypt-certs-manually-with-lego/&lt;/a&gt;&lt;/p&gt;&#10;&lt;br&gt;&#10;&#10;&lt;p&gt;&lt;a href="https://toots.dgplug.org/tags/100WordHabit" target="_blank" rel="noreferrer"&gt;#100WordHabit&lt;/a&gt; &lt;a href="https://toots.dgplug.org/tags/mjbWrites" target="_blank" rel="noreferrer"&gt;#mjbWrites&lt;/a&gt; &lt;a href="https://toots.dgplug.org/tags/NoteToSelf" target="_blank" rel="noreferrer"&gt;#NoteToSelf&lt;/a&gt; &lt;a href="https://toots.dgplug.org/tags/LetsEncrypt" target="_blank" rel="noreferrer"&gt;#LetsEncrypt&lt;/a&gt; &lt;a href="https://toots.dgplug.org/tags/Lego" target="_blank" rel="noreferrer"&gt;#Lego&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;br&gt;&#10;&lt;br&gt;&#10;&lt;br&gt;&#10;&lt;/p&gt;&#10;&lt;p&gt;Original: &lt;a href="https://toots.dgplug.org/@jason/112534342037923335" target="_blank" rel="noreferrer"&gt;https://toots.dgplug.org/@jason/112534342037923335&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://janusworx.com/tags/100wordhabit/" &gt;#100WordHabit&lt;/a&gt;, &lt;a href="https://janusworx.com/tags/mjbwrites/" &gt;#mjbwrites&lt;/a&gt;, &lt;a href="https://janusworx.com/tags/notetoself/" &gt;#notetoself&lt;/a&gt;, &lt;a href="https://janusworx.com/tags/letsencrypt/" &gt;#letsencrypt&lt;/a&gt;, &lt;a href="https://janusworx.com/tags/lego/" &gt;#lego&lt;/a&gt;&lt;/p&gt;&#10;&lt;br&gt;&#10;&#10;</description></item><item><title>Notes to Self on Renewing Wildcard Letsencrypt Certs Manually With Lego</title><link>https://janusworx.com/work/notes-to-self-on-renewing-wildcard-letsencrypt-certs-manually-with-lego/</link><pubDate>Fri, 31 May 2024 11:12:17 +0530</pubDate><author>feedback@janusworx.com (Mario Jason Braganza)</author><guid>https://janusworx.com/work/notes-to-self-on-renewing-wildcard-letsencrypt-certs-manually-with-lego/</guid><description>&lt;p&gt;&lt;br&gt;&#10;&lt;br&gt;&#10;&#10;&lt;figure&gt;&#10; &lt;img class="my-0 rounded-md" src="https://janusworx.com/images/2024/lego-logo.svg" alt="" /&gt;&#10; &#10; &#10; &lt;/figure&gt;&lt;/p&gt;&#10;&lt;figcaption style="font-style: italic; text-align: center; font-size: 85%; color: var(--secondary)"&gt;&#10;&lt;p&gt;image courtesy, the &lt;a href="https://github.com/go-acme/lego" target="_blank" rel="noreferrer"&gt;Lego Github page&lt;/a&gt;&lt;/p&gt;&#10;&lt;/figcaption&gt;&#10;&lt;hr style='margin-left: auto; margin-right: auto; margin-bottom: 40px; margin-top: 50px; width:100px; border: none; background-color:rgb(238, 238, 238); color: rgb(238, 238, 238); height: 1px;'/&gt;&#10;&#10;&lt;p&gt;I want to someday, automate all my domain certificate renewals.&lt;br&gt;&#10;Namecheap doesn’t support it, ergo my move to &lt;a href="https://porkbun.com/about" target="_blank" rel="noreferrer"&gt;Porkbun&lt;/a&gt;.&lt;br&gt;&#10;And &lt;code&gt;certbot&lt;/code&gt; doesn’t support Porkbun, so I’ve moved to &lt;a href="https://github.com/go-acme/lego" target="_blank" rel="noreferrer"&gt;Lego&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;I still need to someday figure out how to do this automatically, but for now, since all is in place, this is the new manual process.&lt;/p&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;You’ll need to generate a Porkbun API key along with its associated secret, and store it somewhere safe and secure. (This is a one time thing, the &lt;a href="https://kb.porkbun.com/article/190-getting-started-with-the-porkbun-api" target="_blank" rel="noreferrer"&gt;Generating API keys&lt;/a&gt; section here describes how)&lt;/li&gt;&#10;&lt;li&gt;Another one time step is to &lt;a href="https://go-acme.github.io/lego/installation/" target="_blank" rel="noreferrer"&gt;get Lego installed&lt;/a&gt; and have it &lt;a href="https://go-acme.github.io/lego/dns/porkbun/" target="_blank" rel="noreferrer"&gt;generate your certs&lt;/a&gt;,&#10;and then have your applications, point to where they are.&lt;/li&gt;&#10;&lt;li&gt;Command to renew: &lt;code&gt;PORKBUN_SECRET_API_KEY=&amp;quot;your-api-*secret*&amp;quot; PORKBUN_API_KEY=&amp;quot;your-porkbun-api-key&amp;quot; ./lego --domains your-domain.tld --domains *.domain.tld --email your-email@domain --dns porkbun renew&lt;/code&gt;&lt;/li&gt;&#10;&lt;li&gt;And the renewal’s done!&lt;/li&gt;&#10;&lt;li&gt;Restart yer engines … err your applications&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; et voilà!&lt;/li&gt;&#10;&lt;li&gt;If you have multiple machines, figure out a way to securely transfer the certs there too.&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;p&gt;&lt;hr style='margin-left: auto; margin-right: auto; margin-bottom: 40px; margin-top: 50px; width:100px; border: none; background-color:rgb(238, 238, 238); color: rgb(238, 238, 238); height: 1px;'/&gt;&#10;&#10;Feedback on this post? Mail me at &lt;a href="mailto:&amp;amp;#102;&amp;amp;%23101;&amp;amp;%23101;&amp;amp;%23100;&amp;amp;%2398;&amp;amp;%2397;&amp;amp;%2399;&amp;amp;%23107;&amp;amp;%2364;&amp;amp;%23106;&amp;amp;%2397;&amp;amp;%23110;&amp;amp;%23117;&amp;amp;%23115;&amp;amp;%23119;&amp;amp;%23111;&amp;amp;%23114;&amp;amp;%23120;&amp;amp;%2346;&amp;amp;%2399;&amp;amp;%23111;&amp;amp;%23109;?subject=%22Feedback on post: Notes to Self on Renewing Wildcard Letsencrypt Certs Manually With Lego&#10;%22" &gt;feedback at this domain&lt;/a&gt;&#10;&lt;br&gt;&#10;&#10;&lt;br&gt;&#10;&#10;P.S. Subscribe to my &lt;a href="https://janusworx.com/subscribe/" target="_blank" rel="noreferrer"&gt;mailing list!&lt;/a&gt;&lt;br&gt;&#10;Forward these posts and letters to your friends and get them to subscribe!&lt;br&gt;&#10;P.P.S. Feed my &lt;a href="https://www.amazon.in/hz/wishlist/ls/2QAUKHHAMOOVS?ref_=wl_share" target="_blank" rel="noreferrer"&gt;insatiable reading habit.&lt;/a&gt;&lt;/p&gt;&#10;&lt;div class="footnotes" role="doc-endnotes"&gt;&#10;&lt;hr&gt;&#10;&lt;ol&gt;&#10;&lt;li id="fn:1"&gt;&#10;&lt;p&gt;in my case Nginx&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;/div&gt;&#10;</description></item></channel></rss>