简体   繁体   中英

XMPP server. How to open TLS connection?

I need help with initialization TLS connection to Firebase Cloud Messaging from my XMPP Java server app. I know that FCM do not support STARTTLS extension. How to do it in the other way?

You are right

Note that FCM doesn't currently support the STARTTLS extension.

https://firebase.google.com/docs/cloud-messaging/auth-server

Also, is described here https://firebase.google.com/docs/cloud-messaging/server#choose , XMPP is a legacy protocol to interact with FCM server

So it's recommended to switch to FCM HTTP v1 API which supports HTTPS

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM