User Agents

Install Burp Certificate in Microsoft Edge

To install the Burp Suite CA certificate in Microsoft Edge, you need to import the certificate into the Windows certificate store (specifically the Trusted Root Certification Authorities store for the current user or local machine), because Edge uses the Windows certificate store rather than its own. Once imported, Edge will trust the certificate for HTTPS interception, provided the certificate is valid and properly configured.

Why Edge Needs the Certificate in Windows

Microsoft Edge, like Internet Explorer before it, relies on the Windows certificate store for validating TLS/SSL certificates. This is different from browsers like Firefox, which maintain their own certificate store. When Burp Suite intercepts HTTPS traffic, it presents its own certificate for each site. For Edge to accept these certificates without warnings, the Burp CA certificate must be trusted by the Windows store.

If you only install the certificate in Firefox, Edge will still show security warnings when Burp is proxying traffic. Therefore, the correct procedure is to export the Burp CA certificate and import it into the Windows Trusted Root Certification Authorities store.

Exporting the Burp CA Certificate

Before you can install the certificate in Edge, you need to obtain it from Burp Suite. The CA certificate is generated by Burp and can be exported in DER or PEM format.

  1. Open Burp Suite and go to the Proxy tab, then Options.
  2. Under the Proxy Listeners section, select the listener you are using and click Edit.
  3. In the Request Handling tab, ensure Generate CA-signed per-host certificates is selected (this is the default).
  4. Click Import / export CA certificate.
  5. In the dialog, choose Export and select Certificate in DER format. Save the file with a .der extension, for example burp.der.

Alternatively, you can export the certificate in PEM format if you prefer, but DER is more commonly used for Windows imports.

Importing the Certificate into Windows

Once you have the certificate file, you can import it into the Windows certificate store. The steps below are for Windows 10 and 11; labels may vary slightly in older versions.

  1. Locate the exported burp.der file and double-click it. This opens the Certificate dialog.
  2. Click Install Certificate.
  3. In the Certificate Import Wizard, choose Current User or Local Machine. For most users, Current User is sufficient and does not require administrator privileges. If you want the certificate trusted for all users on the computer, choose Local Machine (requires admin rights).
  4. Click Next, then select Place all certificates in the following store.
  5. Click Browse and select Trusted Root Certification Authorities.
  6. Click Next, then Finish.
  7. A security warning will appear asking if you want to install the certificate. Click Yes.

After installation, you can verify by opening Edge and navigating to a site through Burp. The certificate should be trusted, and no warning should appear.

Configuring Edge to Use Burp as a Proxy

Installing the certificate is only half of the setup. Edge must also be configured to send traffic through Burp's proxy listener. By default, Edge uses the system proxy settings.

  1. Open Windows Settings and go to Network & Internet > Proxy.
  2. Under Manual proxy setup, enable Use a proxy server.
  3. Enter 127.0.0.1 as the address and 8080 as the port (or whichever port Burp is listening on).
  4. Click Save.

Alternatively, you can launch Edge with the --proxy-server command-line flag, but using system settings is simpler for most users.

Common Problems and Troubleshooting

Even after importing the certificate, you might encounter issues. Here are some common problems and their solutions.

  • Certificate not trusted: Ensure you imported the certificate into the Trusted Root Certification Authorities store, not another store like Personal. Also, check that you imported the correct certificate (the Burp CA, not a per-host certificate).
  • Edge still shows warnings: Clear Edge's cache and restart the browser. Sometimes Edge caches certificate decisions.
  • Proxy not working: Verify that Burp is running and listening on the correct interface and port. Check that the proxy settings in Windows are correct and that no other proxy or VPN is interfering.
  • Certificate expired: Burp certificates have a long validity period, but if you generated a new CA, you must re-export and re-import it.
  • Edge updates: In rare cases, Edge updates might reset certificate trust settings. Re-import if necessary.

Security Considerations

Installing the Burp CA certificate into the Windows Trusted Root store means that any certificate signed by that CA will be trusted by Edge and other applications using the Windows store. This is necessary for interception but poses a security risk if the CA private key is compromised. Therefore, only install the certificate on machines you control and for testing purposes. Remove the certificate when you no longer need it.

To remove the certificate, open certmgr.msc (for Current User) or certlm.msc (for Local Machine), navigate to Trusted Root Certification Authorities > Certificates, find the Burp certificate (usually named "PortSwigger CA" or similar), and delete it.

Frequently Asked Questions

Do I need to install the Burp certificate in Edge separately from Firefox?

Yes. Firefox uses its own certificate store, so you must install the Burp CA certificate in Firefox separately. Edge uses the Windows store, so installing it there covers Edge and other Windows applications.

Can I install the Burp certificate in Edge without administrator rights?

Yes, if you choose Current User during the import wizard. This installs the certificate for your user account only and does not require admin privileges. However, if you need the certificate trusted for all users, you must choose Local Machine and have admin rights.

Why does Edge still show a certificate warning after import?

Possible reasons include importing the certificate into the wrong store, importing the wrong certificate (e.g., a per-host certificate instead of the CA), or Edge caching an old decision. Double-check the store and certificate, then restart Edge.

Is it safe to install the Burp certificate on my everyday browser?

It is generally safe if you control the machine and remove the certificate when not needed. However, leaving it installed could allow interception if the CA private key is compromised. Use a separate browser profile or virtual machine for testing if possible.

How do I remove the Burp certificate from Windows?

Open certmgr.msc (Current User) or certlm.msc (Local Machine), go to Trusted Root Certification Authorities > Certificates, locate the Burp certificate, and delete it.