problems with CERT push notification

Hi guys

I thought I had created certificates OK, but I get the error message it is.

Can someone tell me what might be causing the problem?

Screen shot 2011-10-27 at 16.47.14.png

I went to my App ID and created the aps_production_identity.cer file and the version of dev too.

These were then imported into keychain and then exported in a .p12 file CERT... is that correct?

as you paid will be able to see, the error message says "unable to find expected label ' Production IOS Apple Push Services...".

Is there a guide for the creation of these anywhere?

See you soon

Alistair

Well, if it does not work in a first time, try, try and try again. Find the latest documents of Bob, always noy sure what I did wrong! but now it works, don't think I was name the file as 'planned '.

Need to listen to my own advice... read documents :-)

Tags: Digital Publishing Suite

Similar Questions

  • Problem with SENDING Push notifications!

    Portage .apk to .bar (apk2bar) and I need to send push messages to the device (Dev Alpha B)

    but I can´t find code limit and the error of result of the sender.

    This my PHP server sender:

    public function sendNotificationBlackBerry ($registatoin_tokens, $message) {}
    $appid = 4038-8si785997a3eir572168c5f821291rl8a84';
    $password = "Ja50N4Hu1d";
    $boundary = "mPsbVQo0a68eIL3OAxnm";
    $appport = "33664;
    $deliverbefore = gmdate ("Y - m - d\TH:i:s\Z", strtotime ('+ 2 minutes'));

    An array of addresses must be in the form of PIN or "push_all".
    $addresses = ";
    foreach ($registatoin_tokens as $value) {}
    $addresses. = '

    ' ;
    }
    Create a new cURL resource
    $ch = function curl_init();
    $messageid = true (true);

    $data = '-'. $boundary. "\r\n".
    '
    http://www.openmobilealliance.org/tech/DTD/pap_2.1.DTD">

    '
    . $addresses.
    '

    ' . "\r\n".
    '--' . $boundary. "\r\n".
    "Content-Type: text/plain". "\r\n". "
    "Push-Message-ID: '." $messageid. "\r\n\r\n".
    stripslashes ($message). "\r\n".
    '--' . $boundary. '--' . « \n\r » ;

    set the URL and other appropriate options
    curl_setopt ($ch, CURLOPT_URL, "https://pushapi.eval.blackberry.com/mss/PD_pushRequest"); //Erro 2000 code request is not valid.
    curl_setopt ($ch, CURLOPT_URL, "https://cpXXXX.pushapi.eval.blackberry.com/mss/PD_pushRequest"); / / Error CODE: 2000
    curl_setopt ($ch, CURLOPT_URL, "https://pushapi.eval.blackberry.com"); / / not valid end of document
    curl_setopt ($ch, CURLOPT_URL, "https://cpXXXX.pushapi.eval.blackberry.com"); //Invalid end of document

    curl_setopt ($ch, CURLOPT_HEADER, false);
    curl_setopt ($ch, CURLOPT_USERAGENT, "SAA push application");
    curl_setopt ($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
    curl_setopt ($ch, curlopt_buffersize, CURLAUTH_BASIC);
    curl_setopt ($ch, CURLOPT_USERPWD, $appid. ':' . $password);
    curl_setopt ($ch, CURLOPT_POSTFIELDS, $data);
    curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, false);
    curl_setopt ($ch, CURLOPT_HTTPHEADER, array ("Content-Type: multipart/related;")) Boundary =". $boundary. "; type = application/xml"," Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q =. 2 "," connection: keep-alive "));

    recovery URL and pass it to the browser
    $xmldata = curl_exec;
    curl_close ($ch);

    //-----------------------------
    Start the analysis of response output and the XML that we can read
    $p = xml_parser_create();
    xml_parse_into_struct ($p, $xmldata, $vals);
    $errorcode = xml_get_error_code ($p);
    If ($errorcode > 0) {}
    $err = true;
    }
    xml_parser_free ($p);

    echo ' Our PUSH-ID: '. $messageid. "
    \n » ;
    If (! $err & $vals [1] ['tag'] == 'PUSH-RESPONSE') {}
    echo ' PUSH-ID: '. $vals [1] ['attributes'] ['PUSH-ID']. "
    \n » ;
    echo ' RESPONSE TIME: '. $vals [1] ['attributes'] ['RESPONSE TIME']. "
    \n » ;
    echo ' response CODE: '. $vals [2] ['attributes'] ['CODE']. "
    \n » ;
    echo ' response DESC: '. $vals [2] ['attributes'] ['DESC']. "
    \n » ;
    } else if ($err) {}
    echo '

    An XML parser error occurred

    ' . "\n";
    echo '
    ' . xml_error_string($errorcode) . "
    \n » ;
    echo '

    Response

    ' . "\n";
    echo '
    ' . $xmldata . '
    ' . "\n";
    } else {}
    echo '

    An error has occurred

    ' . "\n";
    echo ' fault CODE: '. $vals [1] ['attributes'] ['CODE']. "
    \n » ;
    echo ' error DESC: '. $vals [1] ['attributes'] ['DESC']. "
    \n » ;
    echo '
    ' . $xmldata . '
    ' . "\n";
    var_dump ($XMLDATA);
    }
    // -----------------------------

    Return $xmldata;
    }

    Try adding a blank line between the "Content-Type: text/html" line and your actual payload data. It seems that the system expects all the headers to be included in the estate, then a space, then the payload.

  • Problem with e-mail notifications

    We are experiencing some problems with notifications.

    Nobody in our company receives any updates trough email, although everyone has notifications and collections of e-mail activated.

    Is there a problem with emails, or do we need to configure anything else to turn the notifications?

    Hello:

    If all members of your community has problems with notifications, it can be a problem with your e-mail filters. Did you check unnecessary folders to ensure that emails are not stuck there? You may need to apply for leave IT '[email protected]' then these emails are blocked.

    Hope that helps,

    Socialcast VMware team

  • Beginning with the Push Notifications

    Hello. I'm creating an application that requires access to the push notifications. I have a few questions.

    What is the difference between BIS and BES and these are the ways of ONLY to push?

    How can I sign up to allow me to test push notifications?

    How much does it cost?

    Server code can be written in any language?

    Once my code is running, my push works for any device and carrier or are there differences?

    Can I push as much as I want to, or are there limits?

    Thanks in advance.

    pg1181 wrote:

    What is the difference between BIS and BES and these are the ways of ONLY to push?

    BIS is a public Service to push when you use the Internet of RIM infrastructure

    BES is the Push Service of the company where you are hosting your own BES server.

    good news: BES Express Server is FREE

    pg1181 wrote:

    How can I sign up to allow me to test push notifications?

    Register for the evaluation: http://us.blackberry.com/developers/platform/pushapi.jsp

    pg1181 wrote:

    How much does it cost?

    Push Services are FREE

    If you need to guarantee delivery and want to be notified, you must push more Service

    where, up to 100,000 pulses per app per day are FREE

    pg1181 wrote:

    Server code can be written in any language?

    YES

    If you can send the HTTP Messages, then it works

    pg1181 wrote:

    Once my code is running, my push works for any device and carrier or are there differences?

    YES each BlackBerry has a unique device PIN - this PIN is used to identify devices

  • certs push notification

    Just a quick question, a little off-topic DPS I know...

    Are the specific developer certs push, or App ID?

    see you soon

    Alistair

    Push certs are application-specific.

  • problem with screen push and pop

    Hello

    My problem is that when I click on the next button it will change from first page to the second page,

    even then again go to second page to page 3.

    now when I click on the "back" button, it will come on the second page of return and once again when I press on it will come on first page.

    but the problem is that now, if I click on the next button it go directly to the page fourth instead of second page.

    Please help me to solve it.

    Code:

    main class extends screen
    {
    ButtonField next1;
    ButtonField prev1;
    public int count;
     
    main public (con int)
    {
    County = con;
    setTitle ("PAGE" + count);
         
    HorizontalFieldManager hfm1 = new HorizontalFieldManager();
           
           
    next1 = new ButtonField ("Next", ButtonField.CONSUME_CLICK);
    next1.setChangeListener (new FieldChangeListener() {}
    {} public fieldChanged no (field, content int field)
    if(Field==next1)
    {
    Count = count + 1;
    System.out.println ("Add" + Count);
    UiApplication.getUiApplication () .pushScreen (new hand (count));
    }
    }
    });
    hfm1. Add (next1);

    prev1 = new ButtonField ("Back", ButtonField.CONSUME_CLICK);
    prev1.setChangeListener (new FieldChangeListener() {}
    {} public fieldChanged no (field, content int field)
    if(Field==prev1)
    {
    Count = count-1;
    UiApplication.getUiApplication () .popScreen ();
    }
    }
    });
    hfm1. Add (prev1);
    }

    }

    You don't have to change your number of variable...

    Replace

        if(field==next1) {
              count=count+1;
              System.out.println("add"+count);
              UiApplication.getUiApplication().pushScreen(new Main(count));
        }
    

    with

        if(field==next1) {
            UiApplication.getUiApplication().pushScreen(new Main(count + 1));
        }
    

    And replace

        if(field==prev1) {
            count=count-1;
            UiApplication.getUiApplication().popScreen();
        }
    

    with

        if(field==prev1) {
            UiApplication.getUiApplication().popScreen();
        }
    
  • Problem with creating user Notifications / change user password

    Hello

    I'm having a problem send emails to users when an account is created in the IOM.

    I've added a notification to the user and Manager of the user on the task to create a user in the definition of user Xellerate process but emails are not sent.
    I know that if I create another task in order to send emails and call it through the answer in the task of creating a user, it will work.
    My purpose is to avoid adding tasks for something IOM should be able to OOTB.

    I'm also unable to send an email when a password is updated... I did the same thing for the user to create and I know that the task (change user password) is called by looking at newspapers, but emails are not being sent.

    Has anyone encountered this kind of problems?
    I'm having these problems in the task of user Xellerate process... I've added notifications to other process tasks (mostly tasks for approval) and that they are working correctly.


    Thanks in advance

    I ran into several question all about change the default behaviors of the user Xellerate object and the process. The Xellerate object and the process have additional built in secuity to prevent users from accedentily their spoil, so when you make changes as you try to do that they do not work. I have a few SRs open on this, because I have a customer who would like to have sent notifications when new users are created by IOM. As a work-around, I drive offshore the purpose of user AD resource notifications because each IOM user automatically gets an ad and Exchange account.

  • Moto G4 - push notifications to stop functioning when the phone is idle / inactive

    Hello!

    I have a very annoying problem with my G4 bike purchased in the UK.

    Problem:

    My push notification comes to app and gmail to stop working when the phone is idle / inactive.

    When I use any application or when I put just the phone side push notifications work fine. They appear on the lock screen and beep.

    After a few minutes of not using the phone, the message to stop the spread. The sender indicates that a tick and the Moto G4 does not show notifications of type push until the phone is activated and unlocked. It is very annoying, because I already missed several attempts to call. This problem occurs with the Wifi or data plan. It is not a What'sApp of settings as it works very well for a while.

    Text messages and phone calls work well, just a data plan seems to go off when idling and never come back until unlocked (even then it takes a while). WiFi seems somehow to maintain a connection.

    I tried:

    • change What settings the sApp
    • disconnection/connection gmail account
    • remove the operating system of the device cache
    • disable the whats of ap battery saving options and all services appear to be relevant
    • WiFi seems somehow to keep the phone, but only data stops immediately, sending fn when idle
    • Restart in safe mode-> the same problem with meeting places. WiFi seems to work, data plan do not when idling

    Is this a known issue? Everyone knows the problem? To me, it seems that the camera seems to move from the internet and do not reactivate until this that unlocked.

    Any suggestion would be appreciated,

    Thank you!

    It seems to work now after clicking: 'Reset the settings App' in the top menu right in "parameters - apps-> gear-> battery optimization"!

    I haven't seen this solution anywhere else. I did the reset done only because I tried to disable optimization for almost all applications gradually. Without success, I clicked on 'Reset the settings App' and suddenly push notification for all work! Yes!

  • PHP push notification - type registration

    Hello
    I need to send notification messages to peripheral bb10 using my server PHP script. I used the form of evaluation of the BlackBerry Push Service to register, select BlackBerry Internet Service transport for growth and Essentials of push Blackberry as Service Push type.

    I checked the posts, which one who seems to have been resolved (http://supportforums.blackberry.com/t5/BlackBerry-Push-Development/Problem-with-SEND-Push-Notificati... and making all kinds of changes to the data to be sent and headers, but not luck: push server does not respond (curl_exec is false) and attempt to parse the xml ends with error)
    An XML parser error occurred
    End of the invalid document

    The sent data now have the form:
    $data = '-'. $boundary.
    '
    http://www.openmobilealliance.org/tech/DTD/pap_2.1.DTD">




    ' .
    '--' . $boundary. "\r\n".
    "Content-Type: text/plain". "\r\n". "
    "Push-Message-ID: '." $messageid. "\r\n\r\n".
    stripslashes ($message). "\r\n".
    '--' . $boundary. '--';

    And transfer curl options are defined as:
    curl_setopt ($ch, CURLOPT_URL, "https://cpXXXX.pushapi.eval.blackberry.com/mss/PD_pushRequest"); (replaced with email of record value xxxx)
    curl_setopt ($ch, CURLOPT_HEADER, false);
    curl_setopt ($ch, CURLOPT_USERAGENT, "SAA push application");
    curl_setopt ($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
    curl_setopt ($ch, curlopt_buffersize, CURLAUTH_BASIC);
    curl_setopt ($ch, CURLOPT_USERPWD, $appid. ':' . $password); (replaced appid and password with the values of the registration email)
    curl_setopt ($ch, CURLOPT_POSTFIELDS, $data);
    curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, false);
    curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt ($ch, CURLOPT_HTTPHEADER, array ("Content-Type: multipart/related;")) Boundary =". $boundary. "; type = application/xml"));

    2 attempted to use javascript to POST XMLHttpRequest in a page on the same server. The result was:
    XMLHttpRequest does not load https://cpxxxx.pushapi.eval.blackberry.com/mss/PD_pushRequest. No "Access-Control-Allow-Origin" header is present on the requested resource. So, the original 'http://my_server_address' is not allowed access.

    3. I used the same code XMLHttpRequest in webworks launched from z10 camera app (the code can be found here - https://github.com/blackberry/BB10-WebWorks-Samples/tree/master/pushCaptureBasics/pushInitiator) and
    Here is the result:

    .. .and the Capture application seems to take notice, by launching again push (does not display the message, but it's another thing ).

    The only thing that now comes to my mind, it is that the push server does not accept my server push messages. But how do I solve this problem?
    Any guidance is appreciated.

    Well, glad to have found a solution to this: after obtaining the references of Production Service Push BlackBerry have used their and it actually works with this code here http://supportforums.blackberry.com/t5/BlackBerry-Push-Development/Cannot-send-PHP-Push-message-usin...

  • Renewal of certificates/Push Notifications

    Can someone please help me understand the process of renewal of my Apple certs & push notification files? More precisely:

    1 Apple warn me when a cert needs to be renewed? Can I do that before it becomes due?

    2. what happens if a cert expires? My application doesn't work anymore?

    3 do I need reconstruction/new submission to Apple my app via the App Builder for updating my CERT or is it possible to update just the CERT Apple Portal?

    Any help would be appreciated. Thank you.

    1. No, Apple didn't send notification. If your hundred p12 dev and dist expire, your application will be rejected at some point in the submission process - I don't remember when. It might be by building the app. If you don't update your application, do not import expired certs dev and dist. Users can always use your application as before. You can even submit an application with expired certificates push and your application will work well - with the exception of push, of course.

    2. the application of the distribution in the store and on devices of users will still work if the distribution p12 has expired, but you will need to update the cert before introduce you a new version of the app. It is my understanding. A production push expired cert affects only push them himself. If your push cert is expired, you will get an error message when you click on warn. Users can still subscribe, download and see the articles independently of push, but they don't get badges or background downloads.

    3. If your dev and dist p12 CERT is expired, just update before submitting a new version. You don't need to rush to do it. For the cert to push p12, I don't think that you must resubmit the application. I think that if you revoke it and rebuild the CERT to push, the change is saved with Apple, and you can click Notify without error. I'll test it soon.

  • Problem with push the screen of an application

    Hello

    I developed an application with another point of entry. I have the main GUI application and an application that listens for push notifications. The background listener auto starts when the unit is turned on and tuned to push. When it receives the push message, it displays a popupscreen with the options 'launch' and 'Cancel '. By pressing 'start' should open the graphical application by pressing the main screen of the application. However, I get "ClassCastException" and I have no idea why.

    I looked around and the process is similar to what I did, but somehow, it does not work for me. Can someone explain or show me how to push a background application screen?

    See you soon!

    Welcome to the forums!

    I guess as you push a display context global [and maybe modal] 'launch' and 'Cancel' buttons. When you press 'start', then, you should not just push a screen - you should actually run the main application!

    To do this, you must create an application with the appropriate settings and say ApplicationManager descriptor to run it. Take a look at the documentation ApplicationManager, especially the section "running an application with different arguments. Make sure the arguments are according to the needs of your main application, not the bottom one.

    Only one problem: what happens if your application is already running but reduced? Don't worry - you try to run the same application with the same arguments will activate one already running!

    Good luck!

  • Problems with latest updates Windows (KB) do not install & repeated notifications via the taskbar icon

    Hello everyone,

    In my view, there are many people who seem to have a similar problem to mine, although I was unable to find an answer to one of my questions in this post.

    Description of the problem:

    Although my Windows Update is defined on download & install updates during the night hours every day, the latest updates, KB26333880, KB2572073and KB2518864 are not be installed.  I went to the Windows Update site to check my editing history.  He showed the green/white checkmarks next to all 3 updates.  The record also showed that updates have been tempted 3 times during the night.  After clicking on the button "Express" on the Home Page, the results show 3 above updates, but show "0 bytes', then '0 download time. '

    To me, this indicates that there is no update to download, despite the yellow Shield of Notification of update continues to appear in the taskbar.

    Corrective measures attempted:

    1. I tried to download / install twice unsuccessfully using IE8 and FF (including restarting the computer).

    2. download & run the program MS Fixitattempted, but received a message which read, "an unexpected error has occurred, please try again later." No. error code has seen with this message.  (I could RECORD the program on my desktop... just couldn't run the establishment).

    3 tried to search for the presence of these updates using start > run > %windir%KB###.log (where the # is the individual number of update KB).  Every time - a message appears indicating that the file is not found.

    4 looked at the Add/Remove Programs list (with the Show updates checkbox checked).  No updates KB mentioned above could be found.

    5 with SAS, MBAMand Outpost Security Suite Pro scans revealed no malware/security issues.  (SAS and MBAM are used only as scanners on request).

    This problem with the updates does not download & repeated notifications being indicated in the taskbar has occurred many times before.  On this occasion, I called Microsoft several times before finally, my computer remotely accessible support person and spent about 50 minutes to fix the problem.

    (Also, it is noted that almost every support person I spoke with has always tried to tell me that MS is not help with the problem of this type.)  I had to be rather several in my reply... tell the person that MS IS in fact provide assistance free security-related Windows updates.  They now provide free assistance is unknown). Besides... I have more a phone number for States anyway.

    My questions to the community:

    1. is it possible to download & install these 3 updates?

    2 is there an explanation as to why MS Fixit program will not be installed, and if so, are there certain corrective measures I can take which will allow me to download & run this program?

    System Specs:

    Desktop Dell Dimension 3000 Tower;  WIN XP Pro SP3.  2 GB OF RAM;  3.00 gHz CPU;  Outpost Security Suite Pro.  MBAM Pro (on request only).  SAS (on request only);  SpywareBlaster;  IE8 & FF

    Thank you for your time and help, review!

    Pete C.

    See the RESPONSE message in this thread-online http://answers.microsoft.com/en-us/windows/forum/windows_xp-windows_update/security-updates-kb2633880-kb2633870-are-not-being/49ed2fe1-6782-4498-814a-ccfa6ec1dfc9

  • How to make the push notification as APN (notification of transmission of apple) with Blackberry API

    Hi all

    I want to know how to get push notification as we APN. I found a demo in the code example of RIM named "httppushdemo" with the server and client code.

    It works this way,

    My custom server (java servlet) push a few data for some static ip (on MDS with given port), on my desk and the BB device receive the MDS data, where my blackberry MDS Simulator is on. So in this case I got direct push notification when the application is activated.

    Flow for Simulator is so as:

    Server customized---> MDS (with specific ipadrees / port)<-------------- >

    (do)                                                              (receive the push)

    But my question is that, in the event of a real device, I have MDS to push the text to the specific ip address.  I have MDS in my device itself. So from where custom server I need to push the text?

    Direct to device? if yes then please tell me where I can change my bb device ip address. ?

    Thanks in advance,

    Tejas

    The AFN is similar to the notion of PPG in BlackBarry who is world BES MDS or Service of Push BlackBerry World BIS. Http you post your button to one of the PPG and it routes the message to the device for you.

    Keep in mind when you push user push BIS and BES that push you to the device with address e-mail or a PIN that you can push only per SPINDLE.

  • Not able to receive a Push Notification with App ID: 4531-* a76s4

    Hello

    I'm new to the Blackberry development,

    I signed up with the service to Push Black berry assessment

    and received the AppID as: 4531-* a76s4,.

    I used this App ID to test Push notifications for my sample Application,

    can I use the same ID App for multiple Applications to receive Push Notifications,

    because I can't register a new ID app for my other applications,

    Please suggest on this.

    Credentials EVAL, you can use the same credentials to push without much concern.

    However in general for PROD you wish to push single credential by application to avoid accidentally sending a big boost for an application to several applications. And since you want to PROD unique credentials for each application (except if you share them grows) then you can go as well with unique EVAL references as well.

    Why are you unable to save of new credentials to push for your second app?

  • with regard to the push notification

    Hello
    I implement push notification in my application and I register for push and received credientials of push notification. I just want to know which register credientials with my code so I need bis...?

    Consumer Push requires BIS - B.

    If the phone you are trying to push to SAY b, then you won't be able to push him.

Maybe you are looking for