You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have two servers one where I store the fingerprints.json (Server1) and the other where api (Server 2) calls are made from my swift app, when I create the fingerprints for the Server 1 the swift app runs as expected and the SLL Pinning works perfect but when I do the exact same steps for my Server 2, I get "SSL Pinning failed: Certificate is not trusted or store is empty.", I've checked the fingerprint many times and for some reason no matter how many times I generate both. Server 1 always works but Server 2 is always showing that error. Please help
`let validationResult = certStore.validate(challenge: challenge)
switch validationResult {
case .trusted:
completionHandler(.performDefaultHandling, nil)
case .untrusted, .empty:
completionHandler(.cancelAuthenticationChallenge, nil)
print("SSL Pinning failed: Certificate is not trusted or store is empty.")
}`
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have two servers one where I store the fingerprints.json (Server1) and the other where api (Server 2) calls are made from my swift app, when I create the fingerprints for the Server 1 the swift app runs as expected and the SLL Pinning works perfect but when I do the exact same steps for my Server 2, I get "SSL Pinning failed: Certificate is not trusted or store is empty.", I've checked the fingerprint many times and for some reason no matter how many times I generate both. Server 1 always works but Server 2 is always showing that error. Please help
`let validationResult = certStore.validate(challenge: challenge)
Beta Was this translation helpful? Give feedback.
All reactions