Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6020653
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T03:36:00+00:00 2026-05-23T03:36:00+00:00

I want to use push notifications on iphone through Urban Airship, and i’m using

  • 0

I want to use push notifications on iphone through Urban Airship, and i’m using their client library for iOS.

I integrated the library inside my project and everything compiles correctly.

On application launch, i’m trying to register my device token to the UrbanAirship server:

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 
{    
    //Init Airship launch options
    NSMutableDictionary *takeOffOptions = [[[NSMutableDictionary alloc] init] autorelease];
    [takeOffOptions setValue:launchOptions forKey:UAirshipTakeOffOptionsLaunchOptionsKey];

    // Create Airship singleton that's used to talk to Urban Airhship servers.
    // Please populate AirshipConfig.plist with your info from http://go.urbanairship.com
    [UAirship takeOff:takeOffOptions];

    [[UAPush shared] registerForRemoteNotificationTypes:(UIRemoteNotificationTypeBadge |
                                                         UIRemoteNotificationTypeSound |
                                                         UIRemoteNotificationTypeAlert)];

    // Override point for customization after application launch.
    [window addSubview:[self.firstViewController view]];
    [self.window makeKeyAndVisible];

    return YES;
}

Now, I noticed that i’m getting the device token from apple, but when i’m trying to register it in the UrbanAirship server i’m getting error messages in the console from the UALOG about ssl problem:

* Request ERROR [registering device token]
Error: Error Domain=ASIHTTPRequestErrorDomain Code=1 “A connection failure occurred: SSL problem (possibly a bad/expired/self-signed certificate)” UserInfo=0x2b2aa0 {NSUnderlyingError=0x2aedb0 “The operation couldn’t be completed. (OSStatus error -9807.)”, NSLocalizedDescription=A connection failure occurred: SSL problem (possibly a bad/expired/self-signed certificate)}*

I’m using the same certificate that I downloaded from the Itunes Connect.
Moreover, the cert seems to be OK when i’m accessing the APNs, so what can cause my problem?

(PS – The certificate is for development and so the UrbanAirship Application)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T03:36:00+00:00Added an answer on May 23, 2026 at 3:36 am

    Oh god….

    It appears that the solution is pretty simple:

    The Date & Time settings on the device must be correct or the certificate won’t be valid.

    Apparently, if you wipe the device and restore it to factory defaults the time goes back to 1970’s….

    The Solution from UrbanAirship support

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to use Urban Airship Push Notifications in my Titanium application.So i followed
Am using Urban airship push notifications for Android. In that , i want to
I want to use Urban airship to deliver Push notification to Android . I
I want to send push notifications to iPhones using c#. I currently use apns-sharp
I want to Use Trial version of Urban Airship for Push notification . On
I want to use XMPP to push data to my client which would translate
I've use Parse to give my iOS and Android App notifications. But I want
I want to use local push notification in iOS 3.0. Is there a way
I want to send a Push Notification message to particular iPhone device using Java.
I want to use push notification in my app.i want to know that do

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.