Skip to main content

48 posts tagged with "SSL"

Secure Socket Layer for HTTPS

View All Tags

Fixed: "ERROR 2061 (HY000): Authentication plugin 'caching_sha2_password' reported error: Authentication requires secure connection" in MySQL

· 4 min read
Jagdish Kumawat
Founder @ Dewiride

Authentication requires secure connection comes from how MySQL's default sign-in works: the first time it checks a password, it needs an encrypted connection to do it safely. Connecting over TCP with TLS turned off gets you this error, and the same command worked a minute later, which threw me at first.

Fixed: "[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate" in Python on macOS

· 7 min read
Jagdish Kumawat
Founder @ Dewiride

A Python script on my Mac couldn't open an HTTPS address: ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate. curl opened the same address without a problem. Python from python.org brings its own OpenSSL, which doesn't use the Mac's certificates, and the fix is a script that comes with it: Install Certificates.

Self-Host Dewiride Analytics on Ubuntu Server — Part 3: Custom Domain and Free HTTPS with Caddy

· 18 min read
Jagdish Kumawat
Founder @ Dewiride

Your dashboard currently answers on 127.0.0.1 and nowhere else, which is safe but unusable. This part gives it a real domain name and a free, automatically renewed HTTPS certificate using Caddy — six lines of configuration, no certbot, no cron job, and no renewal to forget.

Install WordPress on Ubuntu Server with Docker — Part 2: Custom Domain, Free HTTPS, Redis Cache and Backups

· 26 min read
Jagdish Kumawat
Founder @ Dewiride

Your WordPress site works, but only on your own network. This part puts it on the real internet with your own domain name and free HTTPS — using a Cloudflare Tunnel, so you never open a single port or touch your router. Then we add a Redis cache, set up backups, and finish with a clean removal.