Questions tagged [secure-transport]

Secure Transport is Apple's name for their implementation of Secure Sockets Layer (SSL) and Transport Layer Security (TLS).

Secure Transport is Apple's name for their implementation of Secure Sockets Layer (SSL) and Transport Layer Security (TLS).

33 questions
5
votes
2 answers

willSendRequestForAuthenticationChallenge method is called recursive

I am using iOS 10. I am evaluating a self signed certificate as below -(void) connection:(NSURLConnection *)connection willSendRequestForAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge { NSURLProtectionSpace *protectionSpace =…
user2071152
  • 1,161
  • 1
  • 11
  • 25
4
votes
1 answer

Disabling App Transport Security and potential down-level client breaks

In my current application I’ve disabled the App Transport Security (ATS), by making the flag Allow Arbitrary Loads as YES. Now I'm adopting ATS i.e latest version of my application will be adopted ATS. My Question is for the users who are having my…
krishna
  • 97
  • 1
  • 7
4
votes
2 answers

Why is my server's wildcard SSL certificate being rejected?

I am using an NSURLConnection to connect to a server with a wildcard TLS certificate (like "*.domain.com"), and when I call SecTrustEvaluate in my NSURLConnectionDelegate's -connection:willSendRequestForAuthenticationChallenge: method, the…
Greg
  • 10,360
  • 6
  • 44
  • 67
4
votes
1 answer

Why is my SSL handshake failing before sending any SSL messages?

I'm trying to connect an iOS client to an OS X server using TLS 1.2 with Apple's Secure Transport APIs. I had BSD sockets communication working correctly, and I'm having a lot of trouble getting it wrapped with TLS. As far as I can tell from…
Greg
  • 10,360
  • 6
  • 44
  • 67
3
votes
3 answers

XCode - GitHub ´SecureTransport error: I/O error. (-1)´

I'm having an issue when pushing to my GitHub repo (it's an iOS app for iPhone). I haven't had any problem doing this in the last few years. However, without changing anything related to the connection between XCode and GitHub, now I get this error…
FelipeCruzV10
  • 426
  • 6
  • 13
3
votes
1 answer

macOS SecureTransport refuses to import a certificate accepted by OpenSSL

I'm trying to fix a failing test in the urllib3 open source Python project. This test is called test_client_no_intermediate and tries to use a X.509 certificate called client_no_intermediate.pem. The goal is to fail with a "unknown CA" error. The…
Quentin Pradet
  • 4,691
  • 2
  • 29
  • 41
3
votes
1 answer

"SSLRead() return error -9806" when I try to use cURL on https

I'm trying to get the content of a site through cURL, it work just fine on terminal, however it doesn't work with PHP, below is my code. $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://example.com/", …
Vinny
  • 597
  • 3
  • 11
  • 26
3
votes
1 answer

Does distcp in hadoop ENCRYPT data while transporting from one cluster to another

I would like to know whether distcp has option to encrypt data while transporting from one cluster to another. I got to know that it does support encryption in S3 cluster but that is something to do with amazon's S3. What if we are moving plain text…
2
votes
3 answers

cURL error in various homebrew installations

I'm using my (quite old) Macbook with macOS 10.10. I have been struggling to install the following programs using homebrew: ffmpeg, cairo, and sox. Whenever I run brew install ffmpeg it al runs well until eventually, I run into the following…
brunormzg
  • 21
  • 1
  • 4
2
votes
1 answer

iOS Secure Transport TLS extensions

I am developing an application that talks to a peer via a secure channel. The data is secured via Apple's Secure Transport Framework. I am actually trying to remove the TLS extensions from the Client Hello message by configuring the SSLContextRef…
rokridi
  • 1,565
  • 2
  • 11
  • 20
2
votes
0 answers

iOS - TLS over BLE

I m currently working on iOS BLE application. To secure the connection between the smartphone which is in Central mode and the head unit which is in peripheral mode we need to implement TLS protocole over BLE. To send the certificate which is big…
anté75
  • 167
  • 1
  • 1
  • 8
2
votes
0 answers

Objective C Secure Transport Core Bluetooth

After several days of research about how to use Secure Transport i found that all the example and projects are working with BSD sockets and Streams. In Apple documentation there is no statement confirming or denying the possibility of applying TLS…
rokridi
  • 1,565
  • 2
  • 11
  • 20
2
votes
0 answers

TLS between two iOS devices

I am currently developing an application which allows two establish a TLS session between two iOS devices. The session is established between a Centra and a Peripheral that communicate via BLE (Core Bluetooth) library. The server must hold the…
rokridi
  • 1,565
  • 2
  • 11
  • 20
2
votes
0 answers

SSLRead hangs then it returns with zero bytes read

I'm using SecureTransport to communicate with Google Places API over HTTPS. However, when I read the response, somewhere in the middle of it, the SSLRead routine first hangs for a couple of minutes, then it returns with zero bytes read, thus leaving…
frelvie
  • 21
  • 2
2
votes
1 answer

Why is my server certificate being rejected?

I am trying to connect my app to a server using TLS 1.2. The server is using a certificate that has been signed by a self-signed CA certificate that is already installed on the device (I emailed the CA certificate to myself, tapped it. Now it shows…
Greg
  • 10,360
  • 6
  • 44
  • 67
1
2 3