StoicBuilder

HandbookIII the CastraHTTPS

IIIthe Castra, Stay in control

HTTPS

1 min readUpdated 28 November

In plain words

HTTPS encrypts everything between a visitor's browser and your server, so nobody on the same café Wi-Fi can read passwords or swap in their own content.

Where you see it

Vercel, Netlify and Lovable switch HTTPS on for you, custom domains included, once your DNS points at them. You mostly notice it when it's missing: a "Not secure" label in the address bar, or a console warning because one script still loads over http://.

Browser consolebrowser
Mixed Content: The page at 'https://harbor.app/' was loaded over HTTPS,but requested an insecure script 'http://cdn.example.com/chart.js'.This request has been blocked; the content must be served over HTTPS.
One http:// address on an https:// page, and the browser refuses to load it.

What goes wrong

  1. Hard-coding http:// addresses

    An image, script or API address written with http:// gets blocked or flagged on your HTTPS site. Use https:// or a relative path.

  2. Reading the padlock as "this app is safe"

    HTTPS protects the trip between browser and server. It says nothing about your access rules, validation or who can log in.

  3. Switching off certificate checks to fix an error

    An agent stuck on an SSL error may disable verification. The address still says https, but the connection now trusts anyone who answers.

    NODE_TLS_REJECT_UNAUTHORIZED=0

What to tell your agent

Copy this into Lovable, Bolt, Cursor or any agent
Make sure every URL in the code and environment variables uses https://, and fix any mixed-content warnings in the browser console. Never disable certificate checks to get past an SSL error; find and explain the real cause instead.

Quick check

Sign in to earn +10 XP for it

Harbor shows a padlock in the address bar. What does that guarantee?

Got a prompt that touches HTTPS?

Paste it. You get a better prompt first, then the cards that explain it.

Check your own prompt

Free, no sign-up.