ich einen ejabberd-Server unter Windows Server 2012 eingerichtet haben, die arbeitet ich die API auf Port 5280 geöffnet haben folgendes config in meinem ejabberd.yml mit:SSL-Zugriff auf ejabberd API
-
port: 5280
ip: "0.0.0.0"
module: ejabberd_http
starttls: true
tls: true
certfile: 'CERTFILE'
protocol_options: 'TLSOPTS'
request_handlers:
"/ws": ejabberd_http_ws
"/bosh": mod_bosh
"/api": mod_http_api
## "/pub/archive": mod_http_fileserver
web_admin: true
http_bind: true
## register: true
captcha: false
Ich habe ein Wildcard SSL-Zertifikat, das ich auch auf eine .pem-Datei konvertiert haben, zur Zeit in C: \ Programdata \ ejabberd \ conf \ domaincert.pem und am Anfang der Datei in CERTFILE verwiesen wie folgt:
## Define common macros used by listeners
define_macro:
'CERTFILE': "/conf/domaincert.pem"
## 'CIPHERS': "ECDH:DH:!3DES:!aNULL:!eNULL:[email protected]"
'TLSOPTS':
## - "no_sslv2"
- "no_sslv3"
## - "no_tlsv1"
## - "no_tlsv1_1"
## - "cipher_server_preference"
## - "no_compression"
## 'DHFILE': "/path/to/dhparams.pem" # generated with: openssl dhparam -out dhparams.pem 2048
Zugriff über Nicht-HTTPS (http://chat.domain.com:5280/http-bind) zeigt:
ejabberd mod_bosh
An implementation of XMPP over BOSH (XEP-0206)
This web page is only informative. To use HTTP-Bind you need a Jabber/XMPP client that supports it.
ich HTTP-BIND zu bekommen bin kämpfen werden serviert über HTTPS (https://chat.domain.com:5280/http-bind) mit dem Fehler: aus
This site can’t be reached
chat.domain.com unexpectedly closed the connection.
Ich kann nicht funktionieren, wenn dies ein Problem mit meinem Fenster ist Setup, Firewall oder wenn ich einige Änderungen an der Ejabberd-Konfiguration vornehmen muss.
, was die Fehlermeldung? – neuhaus
Bearbeitet, um Fehlerausgabe zu enthalten – sbozzie