<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: cheeselemon</title>
    <description>The latest articles on Forem by cheeselemon (@cheeselemon).</description>
    <link>https://forem.com/cheeselemon</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1169909%2F53a4de6c-d61d-4044-8ccc-b381c6cfcd8b.jpeg</url>
      <title>Forem: cheeselemon</title>
      <link>https://forem.com/cheeselemon</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/cheeselemon"/>
    <language>en</language>
    <item>
      <title>SSL for localhost takes 5 seconds now.</title>
      <dc:creator>cheeselemon</dc:creator>
      <pubDate>Tue, 28 May 2024 07:54:08 +0000</pubDate>
      <link>https://forem.com/cheeselemon/ssl-in-localhost-takes-5-seconds-now-460i</link>
      <guid>https://forem.com/cheeselemon/ssl-in-localhost-takes-5-seconds-now-460i</guid>
      <description>&lt;p&gt;Update on 2024/12/11: With great community support, Ophiuchi v0.6 is about to release. It's been downloaded more than 10,000 times since launch! Thank you all for your kind support. &lt;/p&gt;




&lt;p&gt;Update on 2024/06/10: Thanks to your great support, it's been downloaded for more than 2,000 times! And we're pleased to announce that it's live on ProductHunt, please visit and support the product! &lt;br&gt;
&lt;a href="https://www.producthunt.com/posts/ophiuchi" rel="noopener noreferrer"&gt;https://www.producthunt.com/posts/ophiuchi&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;Update on 2024/06/02: We're happy to share with you that we've decided to open-source our application. Please check it out here and feel free to contribute if you wish: &lt;br&gt;
&lt;a href="https://github.com/cheeselemon/ophiuchi-desktop" rel="noopener noreferrer"&gt;https://github.com/cheeselemon/ophiuchi-desktop&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;Why would anyone need to setup ssl for a localhost development?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Test your web application in a secure environment.&lt;/li&gt;
&lt;li&gt;Some OAuth providers require ssl (like Google).&lt;/li&gt;
&lt;li&gt;Test and find out if there are potential security risks (mixed content) in your application.&lt;/li&gt;
&lt;li&gt;You need to work with CORS and cookies before you deploy your application.&lt;/li&gt;
&lt;li&gt;Test service workers in a secure environment.&lt;/li&gt;
&lt;li&gt;Test web push notifications in a secure environment.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;As developers, we’ve all been there.&lt;br&gt;&lt;br&gt;
There is the hard way, and there is the easy way. &lt;br&gt;
If you search the web and what you'll only find is the hard way.&lt;/p&gt;

&lt;p&gt;The seemingly simple task of setting up SSL for localhost can surprisingly turn into a multi-hour ordeal, tangled in manual configurations (of which never works first time) and repetitive steps.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Hard (Manual and Tedious) SSL Setup on Localhost
&lt;/h3&gt;

&lt;p&gt;Setting up SSL for localhost traditionally involves a series of tedious steps:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Generating a Self-Signed Certificate:&lt;/strong&gt; Initially, you need to manually create a certificate that browsers will inevitably mistrust, just to get started.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Editing the /etc/hosts File:&lt;/strong&gt; Next, you dive into system files like /etc/hosts to map your desired domain name, such as local.whatever, to 127.0.0.1. This usually requires command line tools like vi or nano, which not everyone is comfortable using.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Launching a Web Server Locally:&lt;/strong&gt; Whether it’s Apache, Nginx, or another, you need to download and set up a web server on your machine. (Which I'm not a fan of, because they may mess up my computer)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Configuring the Web Server:&lt;/strong&gt; This involves tweaking server configuration files to recognize your new hostname and certificate, often requiring you to dig through documentation to get syntax and paths right.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Trusting the Certificate:&lt;/strong&gt; Lastly, you must convince your computer to trust the certificate you generated, which often involves several more obscure commands or diving into keychain access nonsense.&lt;/p&gt;

&lt;p&gt;This process isn’t just cumbersome — it’s a repeat performance &lt;strong&gt;“every time”&lt;/strong&gt; you start a new project or want to test something quickly.&lt;/p&gt;

&lt;p&gt;But now, it can be done in 5 seconds. &lt;/p&gt;

&lt;h3&gt;
  
  
  Introducing Ophiuchi: Localhost SSL Proxy Made Simple
&lt;/h3&gt;

&lt;p&gt;Now, imagine a tool that condenses all these steps into a quick, seamless operation. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F142or0wk768jq5ygcgl9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F142or0wk768jq5ygcgl9.png" alt="Image description" width="800" height="678"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;With Ophiuchi, the entire process of setting up SSL for your localhost projects is reduced to a few types and clicks. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F12jdugzgqk61gig10246.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F12jdugzgqk61gig10246.png" alt="Image description" width="800" height="678"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here’s how it simplifies each step:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Automatic Certificate Generation:&lt;/strong&gt; Ophiuchi handles the creation of self-signed certificates automatically for specified domain name. No command line necessary. No hassle.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Domain Mapping:&lt;/strong&gt; Ophiuchi automatically updates your /etc/hosts file with any domain name of your choice, mapping it directly to your localhost environment.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Integrated Web Server:&lt;/strong&gt; Forget about downloading and configuring a separate web server; Ophiuchi comes with an integrated solution that’s pre-configured to use your SSL settings right out of the box. (Docker is required. But most developers use docker naturally for other stuff.)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Instant Trust:&lt;/strong&gt; Ophiuchi includes a feature to automatically add the certificate to your system’s trusted list, bypassing those annoying browser warnings about untrusted certificates.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Deleting is EZ:&lt;/strong&gt; When you’re done using the proxy server and you want to delete it? Above workflow is just reversed!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;It’s Also Secure:&lt;/strong&gt; Everything (certs, config files) never leaves your computer, never shared via network.&lt;/p&gt;




&lt;h3&gt;
  
  
  Why Waste Time?
&lt;/h3&gt;

&lt;p&gt;Time is precious. Why should something as fundamental as testing over HTTPS be a roadblock in your development workflow? With Ophiuchi, it isn’t anymore. This tool is designed for developers by developers, understanding that your time is best spent on creating, not configuring.&lt;/p&gt;

&lt;p&gt;Whether you’re working on a personal project or testing enterprise-level applications, Ophiuchi ensures that your shift from HTTP to HTTPS on localhost is as smooth and swift as a few clicks. What used to take hours now takes seconds, freeing you up to focus on what really matters: building great software.&lt;/p&gt;

&lt;p&gt;I have to mention it’s still alpha. But I use it every now and then. My teammates also use Ophiuchi a lot and they became happier than ever!&lt;/p&gt;

&lt;p&gt;Why not give it a try?&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.ophiuchi.dev" rel="noopener noreferrer"&gt;https://www.ophiuchi.dev&lt;/a&gt;&lt;/p&gt;




&lt;h1&gt;
  
  
  Edit:
&lt;/h1&gt;

&lt;p&gt;I (the author) am the creator of this application. &lt;/p&gt;

&lt;p&gt;As mentioned in the comments, I understand that security risk is a priority for native desktop apps. All versions of this app is/will be Notarized by Apple for extra security. Next update will include an alternative way for users to manually copy &amp;amp; paste into the terminal for extra safety option! &lt;/p&gt;

&lt;p&gt;There is a twitter account you can look at and a discord channel you can freely join if you have any questions! 😃&lt;/p&gt;

&lt;p&gt;(Twitter)[&lt;a href="https://x.com/get_ophiuchi" rel="noopener noreferrer"&gt;https://x.com/get_ophiuchi&lt;/a&gt;]&lt;/p&gt;

&lt;p&gt;(Discord)[&lt;a href="https://discord.gg/fpp8kNyPtz" rel="noopener noreferrer"&gt;https://discord.gg/fpp8kNyPtz&lt;/a&gt;]&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>nginx</category>
      <category>ssl</category>
      <category>https</category>
    </item>
  </channel>
</rss>
