简体   繁体   English

XMPP服务器。 如何打开TLS连接?

[英]XMPP server. How to open TLS connection?

I need help with initialization TLS connection to Firebase Cloud Messaging from my XMPP Java server app. 我需要有关从XMPP Java服务器应用程序到Firebase Cloud Messaging的初始化TLS连接的帮助。 I know that FCM do not support STARTTLS extension. 我知道FCM不支持STARTTLS扩展。 How to do it in the other way? 怎么做呢?

You are right 你是对的

Note that FCM doesn't currently support the STARTTLS extension. 请注意,FCM当前不支持STARTTLS扩展。

https://firebase.google.com/docs/cloud-messaging/auth-server 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 此外,此处描述了https://firebase.google.com/docs/cloud-messaging/server#choose,XMPP是与FCM服务器交互的旧协议

So it's recommended to switch to FCM HTTP v1 API which supports HTTPS 因此,建议切换到支持HTTPS的FCM HTTP v1 API

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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