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

setAllowsInvalidSSLCertificate #116

Closed
troypayne opened this issue Sep 20, 2014 · 6 comments
Closed

setAllowsInvalidSSLCertificate #116

troypayne opened this issue Sep 20, 2014 · 6 comments

Comments

@troypayne
Copy link
Contributor

in AFNetworking for objective-c, there was this convenient flag I could set.

[self setAllowsInvalidSSLCertificate:YES];

What's its equivalent in Alamofire for swift?

@mattt
Copy link
Sponsor Contributor

mattt commented Sep 22, 2014

Alamofire doesn't yet provide TLS verification, so there's no equivalent for setAllowsInvalidSSLCertificate.

@mattt mattt closed this as completed Sep 22, 2014
@theblixguy
Copy link

Is it available now?

@ammoqq
Copy link

ammoqq commented May 19, 2015

is it available now mby ?

@cnoon
Copy link
Member

cnoon commented May 19, 2015

It is not yet available. TLS verification is slated for the 1.3.0 release. More info can be found here.

@Lweek
Copy link

Lweek commented Oct 15, 2015

Hello guys. It is 3.0.0 and I'm still not sure if it is available? How can I add exception for self signed certificate? Right now it failing on SecCertificateCreateWithData inside ServerTrustPolicy object.

@cnoon
Copy link
Member

cnoon commented Oct 18, 2015

Check out the Security section of the README @Lweek.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants