Skip to content
Fix for SSL certificate error on SBB app on iOS 13 beta
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Fix for SSL certificate error in SBB app on iOS 13 beta

Update: As of today, this workaround is no longer needed. SBB updated their app with proper certificate.


  1. On your Mac, enter the following command in Terminal:

openssl s_client -showcerts -connect

  1. As an output, you will get two blocks of base64-encoded text delimited by -----BEGIN CERTIFICATE----- and -----END CERTIFICATE-----. Copy the second block (including those delimiters).
  2. Open a new plaintext document in TextEdit or any other text editor, paste the copied code and save it as sbb_ca.pem
  3. (Optional) Double click on the new certificate to validate that you created a valid certificate file. Keychain Access should open and when you click on View Ceritificate, you should see:
Root certificate authority
Expires: Monday, 1 October 2035 at 09:50:01 Central European Summer Time
"*" certificate is not trusted
  1. AirDrop the certificate file to your iPhone/iPad running iOS 13 beta
  2. Go to Settings and Install the certificate (There will be a new button at the top of the Settings page, between iCloud and Airplane Mode, asking you to finish the installation.)
  3. Go to Settings > General > About > Certificate Trust Settings and enable the newly installed certificate

--- OR ---

Download the extracted certificate from this repo

You can’t perform that action at this time.