When using java APNs, if using the same program to send messages to different applications, it is required to use different certificates. Does switching certificates causes disconnection/reconnection and is it considered a bad practice? (as APNs would like to have persistent connections thus preventing denial of service).
Using java-apns, can switching certificate for multiple apps be considered for denial of service?
194 Views Asked by user3114021 At
1
There are 1 best solutions below
Related Questions in PUSH-NOTIFICATION
- Android: Transferring Data via ContentIntent
- Android Status Bar Icon Size - Using Cordova / Phonegap Push Plugin
- Parse.com - setting up push notifications for single users
- Android Push Notification - Parsing JSON Notification tag name to get raw file (Resource Id or Uri)
- Notification using setFullScreenIntent() for BigTextStyle opening Activity automatically
- Xiaomi does not receive a notification when the application is not running
- Is it possible to send push notifications as per user preference(Time) from parse?
- Cancel pending push notification
- GCM set expiration date for push notifications
- JPush works all over the world?
- Allow user to select notification sound in iOS Notification Settings
- Ios Push notifications not working. (Google play games unity plugin)
- Push notifications that trigger a background refresh before showing the push notification VS silent push
- JavaPNS NoClassDefFoundError
- p12 certificate is always incorrect at Pushwoosh
Related Questions in CERTIFICATE
- Ruby on Windows XP: How to change directory of SSL certificates
- iOS CSR Certificate is not generating correctly
- Wrong vertificate signature algorithm in X509Certificate for SHA256withDSA using Java
- Migrate ClickOnce certificate from Sha1 to SHA256 and run on .NET 4.0 client machines
- How to create CSR with SANs using keytool
- Import cert in ApplicationPool identity Personal certificate store
- Application is not recognized by Game Center after iOS Certificate renewal
- Firefox automatically choose certificate, without ui dialog
- Do all ActiveMQ clients need a client certificate?
- Wildcard SSL - Which to chose and what is the key differences?
- Thread-6, RECV TLSv1 ALERT: fatal, handshake_failure
- How can i get Certificate issuer information in python?
- What certificates does 'curl' use by default?
- Android Client certificate 403
- C# : How can I retrieve the "personal" certificates installed on a remote computer
Related Questions in APPLE-PUSH-NOTIFICATIONS
- Sending a notification from OS X to iOS
- Production certificates not working for APNS but works for APNS_SANDBOX in AWS SNS
- Cancel pending push notification
- Apple Push notification with PHP Ajax Loop
- Handling remote push notification formatting
- Push notification showing before background refresh finished (using Push with background refresh)
- HOWTO? iOS Device to Device Google Cloud Messaging
- Your app appears to include API used to register with the Apple Push Notification service, but the app signature's entitlements do not include the
- will push notifications with Production-SSL certificate work when I'm still testing my app? How can I know it will work?
- Is it a good idea to use push notifications for mobile chat applications? (Android, iOS)
- How many actions can be added to an iOS push notification?
- ios send push notification with GCM Device to Device
- How to enable notification on applewatch?
- How to register for GCM in iOS
- iOS Notifications push server with php
Related Questions in HANDSHAKE
- Impersonate a server
- SSL handshake error with trusting all server certificates
- Handshake_timeout on RabbitMQ using python and pika from remote vm
- Websocket messages after handshake
- gnutls and openssl handshake in NGINX
- Using socket io over http, is a secure log in procedure possible?
- ClientHello TLSv1 and not TLSv1.2
- Exceptions to the TCP sequence numbering mechanism?
- Safari Websocket Handshake Error
- HttpClient fails with Handshake Failed in Android 5.0 Lollipop
- Python's SocketServer won''t handshake
- RTMPLite and Flash Video IO
- Websocket Handshake Failed In Java
- Java 8 RECV TLSv1.2 ALERT: fatal, handshake_failure
- SSL/HTTPS with Android (Nougat) and Client Certificates
Related Questions in RECONNECT
- How to detect/handle USB device disconnect during test run?
- Python Socket - Can't connect a second time
- auto reconnect in jboss-as-7.1.1.Final
- Apache Ignite client reconnection on Server restartup
- Firebase network connection loss onDisconnect handler trouble
- Reconnection strategy in Mule ESB
- Detecting eventmachine disconnections and testing for reconnect
- GAE channel API reconnect
- Using java-apns, can switching certificate for multiple apps be considered for denial of service?
- How to test Intuit reconnect api?
- Core Bluetooth: Cannot get iPhone (the central) and Mac (the peripheral) to pair
- How to reconnect the Dealer in Zeromq
- When connecting using MQTTv5, Mosquitto does not automatically reconnect after the first connection failure
- Smack Client - User is still 'online' although connection aborted
- How to reconnect a socket when catch a SocketException in java?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I don't think it's possible to switch a certificate for an existing connection. At least I'm quite sure it's not possible in Java
SSLSocket(since it is constructed by anSSLSocketFactory, and you use the certificate in one of the parameters required for constructing that factory).You should maintain an open socket for each application you are sending notifications to. This way you don't have to close the socket and open a new one each time you need to switch certificates.