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?
201 views Asked by user3114021 At
1
There are 1 answers
Related Questions in PUSH-NOTIFICATION
- Custom Sound for Expo Push Notifications Only Works in Foreground
- Actionable notification api call not working in background
- After adding the packages of "Xamarin.Firebase.Messaging", getting error related to JAVA0000 "Compilation failed"
- How can I schedule OneSignal notifications programmatically from a Flutter app
- Firebase push doesnt receive after init in other process
- Background notification also get muted on removing "sound" from presentationOptions in @capacitor-firebase/messaging?
- Push notifications in flutter webview app
- (iOS) Can we have multiple APNs files for the same app?
- How does iOS notifications handle cases without content-available key
- Push notification can't be activated in certain phone models and OS
- How to modified remote notification body content in ios using react native
- Push notification sent from Laravel is received by Android device, but isn't received by iOS device
- i want to get the FCM token
- How to update my service worker for existing web push subscribers?
- Android FCM push notification not launching the application on click
Related Questions in CERTIFICATE
- Create aws certification for domain
- How can I create a simple signed certificate for my Windows Forms .NET app in Visual Studio 2022
- Problem validating server certificate connecting to a Kafka cluster
- connecting to secure server from Java application without importing certificate to keystore
- Inside Windows 2016 : error message : "Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty"
- Visual Studio 2022 free certificate problem. "cannot import key file " how to fix
- How do I sign a powershell script with in-network server so that all clients can run script without changing execution policy?
- Mac Sonoma 14.4 Dotnet 8.0.203 SDK webapi https error
- CA certificate for .NET Maui
- Fiddler doesn't work because Chrome and Edge don't trust fiddler certificate
- openssl: try to load local ca store
- Authentication with SmartCard sending a SOAPUI request
- SSL/TLS certificate exchange/renewal needs private key of the old certificate in CSR
- Questions about p12 certificate and private key password
- ERROR: Could not install packages due to an OSError: Could not find a suitable TLS CA certificate bundle, invalid path: /path/to/cacert.pem
Related Questions in APPLE-PUSH-NOTIFICATIONS
- When can users receive background notifications
- Background notification also get muted on removing "sound" from presentationOptions in @capacitor-firebase/messaging?
- Open View When Notification Tapped
- (iOS) Can we have multiple APNs files for the same app?
- Apple App Transfer And push FireBase cloud messaging
- SwiftUI: Scheduling Daily, Dynamic Notifications Fetched From API
- Unable to find users to notify with test with Azure Notification Hub version Google (FCM v1)
- How do I use my Custom Logger in my notification service extension class? Adding the file to the extension's target membership does not work
- Apple Script to Send Text when Ladiocast Disconnected and reconnects
- Maui .net7 ios APN Push notifications - UNUserNotificationCenterDelegate functions not getting hit in background
- Flutter iOS - Firebase Cloud Messaging (FCM) push notifications not received
- Can we have just one APNs auth key for multiple push services providers?
- Firebase Push Notifications not being received by SwiftUI app
- Register an iOS device
- IOS Notifications: Embedded binary's bundle identifier is not prefixed with the parent app's bundle identifier
Related Questions in HANDSHAKE
- CST 0001 ERRO [comm.tls] ClientHandshake -> Client TLS handshake failed after 173.725µs with error EOF remoteaddress=127.0.0.1:7051
- Trouble Understanding how upgrading a request works for Web Sockets
- Using tokio::time::timeout does not trap delayed response from TCPReadStream
- Error: max retries exceeded:get Get "https://xyz.z2.cloudflarestorage.com/ollama/docker/registry/v2/blobs/sha256/78/numbers/data?X-A-Algorithm=xyz&xy
- SSL Handshake Failure While Connecting to MongoDB Atlas from Python
- SSL Handshake Failure When Connecting to MongoDB Atlas from Python
- SSL Handshake performance from Oracle database
- Can't change cipher suite in TLS 1.3 handshake (OpenSSL)
- How simulate TLS handshake error. java, android,
- SpringBoot Injected Principal not null but SecurityContextHolder.getContext().getAuthentication() always null - Websocket
- How to add a custom extension in ClientHello message from C client application?
- vb.net sslStream "The handshake failed due to an unexpected packet format"
- Why can clients send encrypted data before the server sends the change cipher spec in TLS1.2?
- Selenium handshake failed
- Get TLS information from the client
Related Questions in RECONNECT
- When connecting using MQTTv5, Mosquitto does not automatically reconnect after the first connection failure
- Messages from prior state being received after ws reconnect
- Android java socket read return eof, even on reconnect
- Reconnect logic on connection close in X DevAPI of MySql using @mysql/xdevapi module in Node.js
- How can I reconnect a disconnected emulator to adb server without killing the server?
- gRPC | Java | How can I reconnect the stream to the server? [Solved]
- SOCI Database Library how to reconnect to Database with ODBC Backend
- Fail to create subscription on reconnected opcua milo client
- re-connecting to a python socket client, after it has rebooted
- Grails autoReconnect with SQL Server
- REST side not knowing if SignalR is attempting to connect for the first time or reconnect
- Blazor Server "Attempting to reconnect" issue
- Blazor server App gray out every 60 seconds
- How do I make a Blazor page refresh a page instead of trying to reconnect upon connection loss?
- Reconnect with bluetooth mgmt linux API
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?
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)
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.