Skip to content
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

[feature/ios] support self signed https URL #2776

Open
lh99998888 opened this issue Jul 20, 2022 · 2 comments
Open

[feature/ios] support self signed https URL #2776

lh99998888 opened this issue Jul 20, 2022 · 2 comments
Labels
feature help wanted The issue has been reviewed and is valid, and is waiting for someone to work on it. Platform: iOS

Comments

@lh99998888
Copy link

When I what to play a video asset stored in self signed certificate server via iOS, it shows error as "The certificate for this server is invalid.". Is there any way to ignore certificate validation?
When request data from self signed cert server with NSURLSession, I can ignore cert validation using following code

- (void)URLSession:(NSURLSession *)session didReceiveChallenge:(NSURLAuthenticationChallenge *)challenge completionHandler:(void (^)(NSURLSessionAuthChallengeDisposition, NSURLCredential * _Nullable))completionHandler {
    NSURLCredential *credential = [NSURLCredential credentialForTrust:challenge.protectionSpace.serverTrust];
    completionHandler(NSURLSessionAuthChallengeUseCredential, credential);
}

How can I do this in this component?
as this issue #2649

@freeboub freeboub added help wanted The issue has been reviewed and is valid, and is waiting for someone to work on it. Platform: iOS labels Aug 1, 2022
@emreer94
Copy link

emreer94 commented Aug 1, 2024

Hi, did you managed to resolve this problem? @lh99998888

Copy link

github-actions bot commented Dec 7, 2024

This issue is stale because it has been open for 30 days with no activity. If there won't be any activity in the next 14 days, this issue will be closed automatically.

@github-actions github-actions bot added the stale Closed due to inactivity or lack or resources label Dec 7, 2024
@freeboub freeboub changed the title How to handle the self signed https URL on iOS [feature/ios] support self signed https URL Dec 7, 2024
@freeboub freeboub added feature Platform: iOS and removed stale Closed due to inactivity or lack or resources labels Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature help wanted The issue has been reviewed and is valid, and is waiting for someone to work on it. Platform: iOS
Projects
None yet
Development

No branches or pull requests

3 participants