Skip to content

Chain of X509Certificate in URLProtectionSpace for iOS #2618

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
2 tasks done
leonidovia opened this issue May 7, 2025 · 0 comments
Open
2 tasks done

Chain of X509Certificate in URLProtectionSpace for iOS #2618

leonidovia opened this issue May 7, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@leonidovia
Copy link

Is there an existing feature request for this?

  • I have searched the existing feature request

Operating System

iOS

Pain

I am developing the plugin for custom handling SSL errors in WebView, and on iOS, this requires creating SecTrust object and passing an array of certificates to it. But URLProtectionSpace from URLAuthenticationChallenge, received in onReceivedServerTrustAuthRequest event, contains only one certificate - first certificate from original iOS SecTrust object.

Suggested solution

Please consider passing the full certificate chain on iOS. Thanks!

Useful resources

https://developer.apple.com/documentation/security/creating-a-trust-object

Additional information

No response

Self grab

  • I'm ready to work on this issue!
@leonidovia leonidovia added the enhancement New feature or request label May 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant