Safari绕过SSL证书错误的对话框

go to Safari > Preferences > Advanced and select the "Show Develop menu in menu bar" option at the bottom.

  1. Develop > Show Javascript Console.
  2. Paste CertificateWarningController.visitInsecureWebsiteWithTemporaryBypass() in the console.
  3. Press enter to run the code and bypass the warning page without adding the untrusted certificate to your keychain.