10-24-2019 08:36 PM
Good Day Experts,
I am trying to integrate my swift based IOS application with a Cisco Unified Communications Manager version 11.5 using standard RISPORT70 API:
https://developer.cisco.com/docs/sxml/#!risport70-api-reference/selectcmdevice
to get some responses generated off of the API Call.
I make the following call:
https://<server IP>:8443/realtimeservice2/services/RISService70?wsdl
with its corresponding SOAP envelop in the body but get a ATS failed system trust. error - code: -1200
The api call works without SSL Cert Verification on Postman but does not work on the actual app.
I have tried:
Got an Internal PKI Signed certificate certificate on the Cisco Server and added the root, intermediate and the server cert on the local keychain.
Tried to update the the info.plist with the following parameter:
Errors:
2019-10-09 16:54:56.336902-0400 APP[3556:172438] ATS failed system trust2019-10-09 16:54:56.337008-0400 APP[3556:172438] Connection 1: system TLS Trust evaluation failed(-9802) 2019-10-09 16:54:56.337125-0400 APP[3556:172438] Connection 1: TLS Trust encountered error 3:-9802 2019-10-09 16:54:56.337202-0400 APP[3556:172438] Connection 1: encountered error(3:-9802) 2019-10-09 16:54:56.340683-0400 APP[3556:172438] Task <2F074FBA-C54B-4972-B269-1B3EE5919344>.<1> HTTP load failed, 0/0 bytes (error code: -1200 [3:-9802]) Optional(Error Domain=NSURLErrorDomain Code=-1200 "An SSL error has occurred and a secure connection to the server cannot be made." UserInfo={NSURLErrorFailingURLPeerTrustErrorKey=<SecTrustRef: 0x60000071a2e0>, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9802, NSErrorPeerCertificateChainKey=(
Any help here will be much appreciated.
Himank Pande
#xcode #cisco-axl #swift #cucm #callmanager #certificate
11-11-2019 02:15 AM
Where is your application running?
I would say that the device dos not trust the certificate presented from CUCM.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide