Countly // SSL Pinning

Hey everybody,

as soon as I provide a certificate, my app starts to work unperformantly. In addition, it happens that "events" can no longer get through.

I'm working with swift 4.2 and we have COuntly installed on our own server. (Basic version)

let pathToCertificate = Bundle.main.path(forResource: "countly_cert", ofType: "cer")

let config = CountlyConfig()
if let key = appKey, let url = host, let _ = pathToCertificate  {
  config.appKey = key = url
  config.pinnedCertificates = [pathToCertificate!]
  config.enableDebug = true
} else {
  fatalError("Missing Countly configuration in `Info.plist` file.")

config.features = [CLYPushNotifications, CLYCrashReporting, CLYAutoViewTracking]
Countly.sharedInstance().start(with: config)

Has anyone had similar experiences? If so, could you solve it somehow?

Thank you!



  • Hi @Armando - let's check this. I have let my colleague @erkanyildiz know .

    Comment actions Permalink
  • Thank you @gorkem.

    A question at this point, do you have any experience with whether there are problems with countly and a load balancer?

    Comment actions Permalink
  • None that we know of yet.

    Comment actions Permalink

Please sign in to leave a comment.