"no host available for requested domain" when conncet to starttls jabberd2
Marc Olive <[email protected]> Fri, 20 Aug 2010 10:47:53 +0200
| Newsgroups | gmane.network.jabber.admin |
|---|---|
| Organization | Grup Blau |
| Message-ID | <[email protected]> |
Hello,
I have a jabberd-2.2.9 server that works fine but without encryption.
I would like to encrypt the communications, but once starttls is configured I
get the followin error:
C2S : Fri Aug 20 08:12:36 2010 c2s.c:185 no host available for requested
domain 'jabber2.blau-xarxa.lc'
C2S : sx (error.c:79) prepared error: <stream:error
xmlns:stream='http://etherx.jabber.org/streams'><host-unknown
xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text
xmlns='urn:ietf:params:xml:ns:xmpp-streams'>service requested for unknown
domain</text></stream:error>
I've setup the SSL Certificate as explained in
http://www.jabberdoc.org/app_sslkey.html and the CN is the FQDN:
]# openssl x509 -in /etc/jabberd/server.pem -text
Certificate:
Data:
Version: 3 (0x2)
Serial Number:
9c:11:dc:09:dd:89:5d:fd
Signature Algorithm: sha1WithRSAEncryption
Issuer: C=CT, ST=Catalunya, L=Espluga, O=Blau Advisors, OU=Jabber,
CN=jabber2.blau-xarxa.lc
jabber2.blau.xarxa.lc resolves to the correct server:
# ping -c1 jabber2.blau-xarxa.lc
PING jabber2.blau-xarxa.lc (192.168.1.31) 56(84) bytes of data.
64 bytes from jabber2.blau-xarxa.lc (192.168.1.31): icmp_seq=1 ttl=64
time=0.010 ms
--- jabber2.blau-xarxa.lc ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.010/0.010/0.010/0.000 ms
To enable starttls I uncomment into c2s.xml, router.xml, sm.xml and s2s.xml
files the line:
<pemfile>/etc/jabberd/server.pem</pemfile>
On c2s.xml I also have:
<id
register-enable='false'
pemfile='/etc/jabberd/server.pem'
>
jabber2.blau-xarxa.lc
</id>
I can connect without starttls and the above configuration commented out.
What I'm doing wrong to get encryption enabled?
Thanks,
--
Marc Olivé
Grup Blau
www.grupblau.com
_______________________________________________
JAdmin mailing list
FAQ: http://www.jabber.org/discussion-lists/jadmin-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=19
Info: http://mail.jabber.org/mailman/listinfo/jadmin
Unsubscribe: [email protected]
_______________________________________________