title: push notification testing in device through xcode with development SSL certificate
body: <p>My app is already on the app store and with push notifications active and working (using production certificate). Now I need to add badges (before their were only alerts) in the application (already implemented on the server side). So for testing I would need a development SSL certificate. So following are my queries:</p>
  
  <ol>
  <li>Do I have to install the development SSL certificate on my server so that I can test on iPhone using development cert?  </li>
  <li>Will it not conflict with the already installed production SSL cert on the server.  </li>
  <li>Do I have to add badges in both didReceiveRemoteNotification: and didFinishLaunchingWithOptions: delegates using below code:</li>
  </ol>
  
  <p>code section:</p>
  
  <pre><code>NSString* alertValue = [[userInfo valueForKey:@"aps"] valueForKey:@"badge"];  
  NSLog(@"my message-- %@",alertValue);  
  int badgeValue= [alertValue intValue];  
  [[UIApplication sharedApplication] setApplicationIconBadgeNumber:badgeValue];
  </code></pre>
  
  <p>Any suggestions?</p>