Server SSL Certificates Help

Burp Proxy provides a variety of options for configuring the server SSL certificates that are presented to your browser. Use of these options can resolve some SSL issues that arise when using an intercepting proxy:

The new options for handling server certificates can be configured individually for each proxy listener, and look like this:

These options are explained more fully below:

To make full use of Burp's CA-signed host certificates, you will need to install Burp's CA certificate as a trusted root in your browser. Note: If you install a trusted root certificate in your browser, then an attacker who has the private key for that certificate may be able to man-in-the-middle your SSL connections without obvious detection, even when you are not using an intercepting proxy. To protect against this, Burp generates a unique CA certificate for each installation, and the private key for this certificate is stored on your computer, in a platform-dependent location. If untrusted people can read local data on your computer, you may not wish to install Burp's CA certificate.

Internet Explorer

To install Burp's CA certificate on IE, perform the following steps:

  1. If you have previously installed a different CA certificate generated by Burp, you should first remove it (see instructions below).
  2. Configure your browser to use Burp as its proxy, and configure Burp's proxy listener to generate CA-signed per-host certificates.
  3. Visit any SSL-protected URL. If you receive a warning, click "Continue to this website (not recommended)".
  4. Click on the "Certificate error" button in the address bar.
  5. Click "View certificates".
  6. Go to the "Certification Path" tab.
  7. Select the root certificate in the tree (PortSwigger CA).
  8. Click "View Certificate".
  9. Click "Install Certificate".
  10. In the Certificate Import Wizard, select "Place all certificates in the following store".
  11. Click "Browse".
  12. Select "Trusted Root Certification Authorities".
  13. Click "OK".
  14. Complete the wizard.
  15. Click "Yes" on the security warning.
  16. Close all dialogs and restart IE.

If everything has worked, when you visit SSL-protected URLs using Burp you should see a valid certificate chain:

To remove a Burp CA certificate which you have previously installed on IE, perform the following steps:

  1. Go to Tools | Internet Options.
  2. Go to the Content tab.
  3. Click "Certificates".
  4. Go to the Trusted Root Certification Authorities tab.
  5. Select the PortSwigger CA entry in the list.
  6. Click "Remove".
  7. Click "Yes" in each confirmation dialog.
  8. Confirm that the PortSwigger CA entry has been removed.
  9. Restart IE.

Firefox

To install Burp's CA certificate on Firefox, perform the following steps:

  1. If you have previously installed a different CA certificate generated by Burp, you should first remove it (see instructions below).
  2. Configure your browser to use Burp as its proxy, and configure Burp's proxy listener to generate CA-signed per-host certificates.
  3. Visit any SSL-protected URL.
  4. On the "Secure Connection Failed" screen, click on "Or you can add an exception", and then click "Add Exception".
  5. Click "Get Certificate", then click "View".
  6. Select the root certificate in the tree (PortSwigger CA).
  7. Click "Export" and save the certificate somewhere.
  8. Click "Close" on the Certificate Viewer dialog, and "Cancel" on the "Add Security Exception" dialog.
  9. Go to Tools | Options.
  10. Click "Advanced".
  11. Go to the Encryption tab.
  12. Click "View Certificates".
  13. Go to the Authorities tab.
  14. Click "Import" and select the certificate file that you previously saved.
  15. On the "Downloading Certificate" dialog, check the box "Trust this CA to identify web sites", and click "OK".
  16. Close all dialogs and restart Firefox.

If everything has worked, when you visit SSL-protected URLs using Burp you should see a valid certificate chain:

To remove a Burp CA certificate which you have previously installed on Firefox, perform the following steps:

  1. Go to Tools | Options.
  2. Click "Advanced".
  3. Go to the Encryption tab.
  4. Click "View Certificates".
  5. Go to the Authorities tab.
  6. Select the PortSwigger CA entry in the list (this is a sub-entry under PortSwigger).
  7. Click "Delete".
  8. Click "OK" in the confirmation dialog.
  9. Confirm that the PortSwigger CA entry has been removed.
  10. Restart Firefox.

Copyright © 2010 PortSwigger Ltd. All rights reserved.