惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
Visual Studio Blog
Engineering at Meta
Engineering at Meta
月光博客
月光博客
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
Tailwind CSS Blog
博客园 - Franky
The GitHub Blog
The GitHub Blog
大猫的无限游戏
大猫的无限游戏
The Cloudflare Blog
B
Blog RSS Feed
云风的 BLOG
云风的 BLOG
小众软件
小众软件
罗磊的独立博客
Microsoft Azure Blog
Microsoft Azure Blog
I
InfoQ
美团技术团队
H
Hackread – Cybersecurity News, Data Breaches, AI and More
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
V2EX
C
Check Point Blog
WordPress大学
WordPress大学
博客园 - 【当耐特】
博客园 - 司徒正美
D
Docker

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
HTTPS and Burp Certificates: Why Websites Suddenly Stop W...
Arashad Dodhiya · 2026-06-01 · via DEV Community

You finally did it.

You installed Burp Suite.

Configured the proxy.

Opened your browser.

Visited Google.

And then...

Instead of seeing Google, you saw this:

Your connection is not private

Enter fullscreen mode Exit fullscreen mode

Or:

NET::ERR_CERT_AUTHORITY_INVALID

Enter fullscreen mode Exit fullscreen mode

Or:

Certificate Error

Enter fullscreen mode Exit fullscreen mode

At this point, most beginners think:

"I configured something wrong."

Or even worse:

"Burp Suite is broken."

The truth is much more interesting.

Burp isn't broken.

HTTPS is protecting you.

And understanding why this happens is one of the most important lessons in web security.


The Problem Burp Creates

Let's first remember what Burp does.

Normally:

Browser
   ↓
Website

Enter fullscreen mode Exit fullscreen mode

Your browser talks directly to the website.

But when Burp is introduced:

Browser
   ↓
Burp Suite
   ↓
Website

Enter fullscreen mode Exit fullscreen mode

Burp sits in the middle.

This creates a problem.

A very important problem.


HTTPS Was Designed to Prevent This

Imagine you're sending a confidential letter.

You place it inside a locked box.

Only the recipient has the key.

Even if someone intercepts the box, they cannot read the contents.

That's essentially what HTTPS does.

HTTPS encrypts communication between:

Browser
   ↔
Server

Enter fullscreen mode Exit fullscreen mode

So that nobody in the middle can read it.

Not:

  • Attackers
  • WiFi operators
  • ISPs
  • Network administrators

Nobody.

Only the browser and server should understand the contents.


What Happens When Burp Appears?

Now let's introduce Burp.

Browser
   ↓
Burp
   ↓
Website

Enter fullscreen mode Exit fullscreen mode

Burp needs to see the encrypted traffic.

But HTTPS says:

"Nobody in the middle should be able to read this."

So who wins?

HTTPS.

At least initially.


Why Browsers Start Complaining

Let's say you visit:

https://google.com

Enter fullscreen mode Exit fullscreen mode

Your browser expects:

Google Certificate

Enter fullscreen mode Exit fullscreen mode

Because it's talking to Google.

But Burp intercepts the traffic.

Now the browser sees:

Burp Certificate

Enter fullscreen mode Exit fullscreen mode

Instead of:

Google Certificate

Enter fullscreen mode Exit fullscreen mode

The browser immediately becomes suspicious.

It thinks:

"Wait a second..."

"I wanted Google's certificate."

"Who is this Burp guy?"

And it displays:

Your connection is not private

Enter fullscreen mode Exit fullscreen mode

Which is exactly what a secure browser should do.


The Hotel Reception Analogy

Imagine calling a hotel.

You expect to speak directly with reception.

You
 ↓
Hotel Reception

Enter fullscreen mode Exit fullscreen mode

Instead:

You
 ↓
Random Stranger
 ↓
Hotel Reception

Enter fullscreen mode Exit fullscreen mode

A stranger answers first.

Even if that stranger claims:

"Trust me, I'll relay your messages."

You would be suspicious.

That's exactly how the browser feels about Burp.


Why Burp Needs Its Own Certificate

Burp must convince the browser that it's trustworthy.

To do that, Burp creates its own Certificate Authority (CA).

Think of it as:

Burp CA

Enter fullscreen mode Exit fullscreen mode

Once your browser trusts the Burp CA:

Browser
   ↔
Burp

Enter fullscreen mode Exit fullscreen mode

becomes trusted.

And:

Burp
   ↔
Website

Enter fullscreen mode Exit fullscreen mode

remains encrypted as well.

Burp can now safely inspect traffic.


What Is a Certificate?

A certificate is like an identity card.

When you visit:

https://example.com

Enter fullscreen mode Exit fullscreen mode

The website presents a certificate.

The browser checks:

Is this certificate valid?

Enter fullscreen mode Exit fullscreen mode

If yes:

Connection Trusted

Enter fullscreen mode Exit fullscreen mode

If no:

Warning Message

Enter fullscreen mode Exit fullscreen mode

Certificates help prevent impersonation attacks.

Without certificates, attackers could pretend to be any website.


How Burp Handles HTTPS

Burp performs something called:

SSL/TLS Interception

Enter fullscreen mode Exit fullscreen mode

Don't worry about the fancy term.

Here's what actually happens.


Step 1

Browser requests:

https://google.com

Enter fullscreen mode Exit fullscreen mode


Step 2

Burp intercepts request.


Step 3

Burp generates a certificate for:

google.com

Enter fullscreen mode Exit fullscreen mode

on the fly.


Step 4

Browser checks:

Do I trust Burp?

Enter fullscreen mode Exit fullscreen mode

If not:

Certificate Error

Enter fullscreen mode Exit fullscreen mode

If yes:

Connection Successful

Enter fullscreen mode Exit fullscreen mode


Installing the Burp Certificate

Now let's fix the problem.


Method 1: Using Burp Browser (Recommended)

Launch:

Proxy
↓
Open Browser

Enter fullscreen mode Exit fullscreen mode

or:

Open Burp Browser

Enter fullscreen mode Exit fullscreen mode

depending on your version.

Modern Burp Browser usually installs and trusts the certificate automatically.

In many cases:

No manual steps required.

Enter fullscreen mode Exit fullscreen mode

This is one reason beginners should start with Burp Browser.


Installing the Certificate Manually

If you're using Chrome, Firefox, or another browser:

Follow these steps.


Step 1

Open Burp Suite.


Step 2

Open Burp Browser.

Navigate to:

http://burp

Enter fullscreen mode Exit fullscreen mode

or:

http://burpsuite

Enter fullscreen mode Exit fullscreen mode

Depending on the version.

You should see Burp's certificate page.


Step 3

Download:

CA Certificate

Enter fullscreen mode Exit fullscreen mode

A file similar to:

cacert.der

Enter fullscreen mode Exit fullscreen mode

will be downloaded.


Step 4

Import the certificate into your browser.


Firefox Installation

Firefox manages certificates separately.

Navigate:

Settings
 ↓
Privacy & Security
 ↓
Certificates
 ↓
View Certificates
 ↓
Authorities
 ↓
Import

Enter fullscreen mode Exit fullscreen mode

Select:

cacert.der

Enter fullscreen mode Exit fullscreen mode

Enable:

Trust this CA to identify websites

Enter fullscreen mode Exit fullscreen mode

Save.


Chrome Installation

Chrome uses your operating system's certificate store.

Windows:

Manage User Certificates
 ↓
Trusted Root Certification Authorities
 ↓
Import

Enter fullscreen mode Exit fullscreen mode

Select:

cacert.der

Enter fullscreen mode Exit fullscreen mode

Finish installation.

Restart Chrome.


How To Verify Everything Works

After certificate installation:

Visit:

https://google.com

Enter fullscreen mode Exit fullscreen mode

or:

https://portswigger.net

Enter fullscreen mode Exit fullscreen mode

If pages load normally:

✓ Proxy works

✓ Certificate works

✓ HTTPS interception works

You're ready.


How To Confirm Burp Is Seeing Traffic

Inside Burp:

Navigate:

Proxy
 ↓
HTTP History

Enter fullscreen mode Exit fullscreen mode

You should see:

GET https://google.com

Enter fullscreen mode Exit fullscreen mode

or other requests.

This confirms Burp is successfully decrypting and inspecting HTTPS traffic.


Common Beginner Mistakes

Installing Proxy But Not Certificate

Result:

Certificate Error

Enter fullscreen mode Exit fullscreen mode

Most common issue.


Importing Into Wrong Certificate Store

The certificate must be trusted by the browser being used.


Forgetting To Restart Browser

Some browsers require restart after certificate installation.


Thinking HTTPS Is Broken

HTTPS is working perfectly.

The browser is protecting you from an untrusted intermediary.

That's exactly what it's supposed to do.


What Security Researchers Learn Here

This chapter teaches something much bigger than Burp.

It teaches how HTTPS trust actually works.

Most internet users never think about certificates.

Security professionals think about them constantly.

Because every secure website depends on them.


Key Takeaways

✓ HTTPS encrypts communication between browsers and websites

✓ Burp sits in the middle of that communication

✓ Browsers do not automatically trust Burp

✓ Burp uses its own Certificate Authority

✓ Installing the Burp certificate creates trust

✓ Once trusted, Burp can inspect HTTPS traffic

✓ Certificate errors are usually a sign that security is working correctly

✓ Understanding certificates is a foundational web security skill


What's Next?

Now that Burp can successfully inspect encrypted traffic, it's time to start capturing real requests.

In the next chapter, we'll enable interception, capture our first request, and learn how to pause web traffic before it reaches the server.