Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (22 sloc) 1.68 KB

Airbrake Resources

Airbrake has an SSL mode available to paying plans. SSL Certificate Authority (CA) certificates are not kept current by default on many environments. When CA certs are stale, Airbrake cannot verify Airbrake's production SSL cert and error reports fail. To avoid this, we now package local CA certs. The production of these certs is detailed here.

Building ca-bundle.crt


If you want to use curl or net-http/open-uri to access https resources, you will often (always?) get an error, because they don't have the large number of root certificates installed that web browsers have.

You can manually install the root certs, but first you have to get them from somewhere. This article gives a nice description of how to do that. The source of the cert files it points to is hosted by the curl project, who kindly provide it in the .pem format.

problem: Sadly, ironically, and comically, it's not possible to access that file via https! Luckily, the awesome curl project does provide us with the script that they use to produce the file, so we can do it securely ourselves. Here's how.

  1. git clone
  2. cd curl/lib
  3. edit and change:

    my $url = '';


    my $url = '';

    (change http to https)

  4. ./

Ta da!

Something went wrong with that request. Please try again.