SSL Error with Pod install from a Cordova plugin

Bitrise Build Issue Report template

Description of the issue

Running into a build issue with cordova platform add ios that says it could not verify an SSL certificate when installing a pod for the cordova-plugin-firebasex plugin. I don’t have any issues with this on my local machine so I’m not sure where to start. Here is what the error is saying:
Failed to install ‘cordova-plugin-firebasex’: Error: pod: Command failed with exit code 1 Error output:
Cloning into ‘/var/folders/6q/wgy6jtp12w5gzgm9lzcglpqw0000gn/T/d20210709-3617-dyvl2’…
Note: switching to ‘01131d68346c8ae552961c768d583c715fbe1410’.

 You are in 'detached HEAD' state. You can look around, make experimental
 changes and commit them, and you can discard any commits you make in this
 state without impacting any branches by switching back to a branch.
 If you want to create a new branch to retain commits you create, you may
 do so (now or later) by using -c with the switch command. Example:
   git switch -c <new-branch-name>
 Or undo this operation with:
   git switch -
 Turn off this advice by setting config variable advice.detachedHead to false
 % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                Dload  Upload   Total   Spent    Left  Speed

 0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
 0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

curl: (60) SSL certificate problem: certificate has expired
More details here:

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.


Where did the issue happen?, Big Sur XCode 12.5.x

Which build Step causes the issue and which version of the step?



  • Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build) : NO
  • Does a rebuild without caches help? (You can remove the Cache:Pull and Cache:Push steps temporarily to not to use the cache, or you can delete all the caches on the Settings tab of the app. : NO
  • Does the issue happen sporadically, or every time? : Every time
  • Does upgrading the build Step to the latest version help? : NO
  • When did the issue start? :
    Yesterday that I can tell

Local reproduction

_Can it be reproduced on your own Mac/PC by following our local debug guide? Please follow at least the first section (“Testing with a full clean git clone”) to make sure to test the state of the code what will get when it does a git clone in the clean environment! If possible please note which sections you tried. NO

Build log

_Please copy paste the build’s URL here (or if the issue happens somewhere else then the full logs), or if you can’t share the url / log here then send the url or full log through a private channel (e.g. email - Contact us ), with a link to the related Discuss issue:

In reviewing the log, it appears you are still using the Fabric SDK. The Fabric SDK is no longer supported as of November 15, 2020 and needs to be replaced with the Firebase Crashlytics SDK versions 17.0.0+ for Android , 4.0.0+ for iOS , or 6.15.0+ for Unity .

For details, please see:

Based on the fact that this continued to work, I assume the site was left up and their certificate recently expired.

Thank you Cathy, that was super helpful!