[JDEV] SSL Problem with RedHat 7.1. PLEASE HELP!

Mark Cook wizware at netscape.net
Fri Feb 8 11:23:59 CST 2002


I have followed the standard directions of "./configure --enable-ssl". SSL is detected. I compile without errors. I set up the key file. I made the necessary changes in jabber.xml (fixing the XML syntax too).

But Jabber NEVER listens on the SSL port. I have even tried the jabber2 CVS and it doesn't listen on the SSL either, and even though it DOES listen on 5222, I cannot connect to it.

What is strange is in the log the key is read in a processed by mio_ssl which leads me to believe that SSL was compiled in. However, I never see any acknowledgement in the log of listening on port 5223. It sees the 'ssl port' command in jabber.xml because it shows it under the 'ip port' command.

Am I missing something stupid? PLEASE HELP! And if you have a compiled jabberd that works under RedHat 7.1, then I would be willing to accept that too!

Here is the log: (I'm sorry it's so long, but I wanted to make sure I didn't leave anything out)

Fri Feb  8 10:10:29 2002  mio_ssl.c:52 MIO SSL init
Fri Feb  8 10:10:29 2002  mio_ssl.c:61 Handling configuration using: <ssl>
      <key ip='207.203.23.123'>./key.pem</key>
    </ssl>
Fri Feb  8 10:10:29 2002  mio_ssl.c:80 Handling: <key ip='207.203.23.123'>./key.pem</key>
Fri Feb  8 10:10:29 2002  mio_ssl.c:95 Setting temporary RSA callback
Fri Feb  8 10:10:29 2002  mio_ssl.c:107 Loading SSL certificate ./key.pem for 207.203.23.123
Fri Feb  8 10:10:29 2002  mio_ssl.c:121 Added context 80c4fc8 for 207.203.23.123
Fri Feb  8 10:10:29 2002  mio.c:568 MIO is starting up
Fri Feb  8 10:10:29 2002  base_accept.c:287 base_accept loading...

Fri Feb  8 10:10:29 2002  base_connect.c:257 base_connect loading...

Fri Feb  8 10:10:29 2002  base_exec.c:366 base_exec loading...

Fri Feb  8 10:10:29 2002  base_file.c:106 base_file loading...
Fri Feb  8 10:10:29 2002  base_format.c:127 base_format loading...
Fri Feb  8 10:10:29 2002  base_to.c:88 base_to loading...
Fri Feb  8 10:10:29 2002  base_stderr.c:74 base_stderr loading...
Fri Feb  8 10:10:29 2002  base_stdout.c:231 base_stdout loading...

Fri Feb  8 10:10:29 2002  base_dynamic.c:186 base_dynamic loading...
Fri Feb  8 10:10:29 2002  load.c:229 dynamic component loader initializing...

Fri Feb  8 10:10:29 2002  load.c:201 dynamic loader processing configuration <load main='jsm'>
      <jsm>./jsm/jsm.so</jsm>
      <mod_echo>./jsm/jsm.so</mod_echo>
      <mod_roster>./jsm/jsm.so</mod_roster>
      <mod_time>./jsm/jsm.so</mod_time>
      <mod_vcard>./jsm/jsm.so</mod_vcard>
      <mod_last>./jsm/jsm.so</mod_last>
      <mod_version>./jsm/jsm.so</mod_version>
      <mod_announce>./jsm/jsm.so</mod_announce>
      <mod_agents>./jsm/jsm.so</mod_agents>
      <mod_browse>./jsm/jsm.so</mod_browse>
      <mod_admin>./jsm/jsm.so</mod_admin>
      <mod_filter>./jsm/jsm.so</mod_filter>
      <mod_offline>./jsm/jsm.so</mod_offline>
      <mod_presence>./jsm/jsm.so</mod_presence>
      <mod_auth_plain>./jsm/jsm.so</mod_auth_plain>
      <mod_auth_digest>./jsm/jsm.so</mod_auth_digest>
      <mod_auth_0k>./jsm/jsm.so</mod_auth_0k>
      <mod_log>./jsm/jsm.so</mod_log>

      <mod_xml>./jsm/jsm.so</mod_xml>
    </load>

Fri Feb  8 10:10:29 2002  load.c:201 dynamic loader processing configuration <load>
      <xdb_file>./xdb_file/xdb_file.so</xdb_file>
    </load>

Fri Feb  8 10:10:29 2002  load.c:201 dynamic loader processing configuration <load>
      <pthsock_client>./pthsock/pthsock_client.so</pthsock_client>
    </load>

Fri Feb  8 10:10:29 2002  base_format.c:102 base_format_config validating configuration
Fri Feb  8 10:10:29 2002  base_file.c:69 base_file_config validating configuration
Fri Feb  8 10:10:29 2002  base_format.c:102 base_format_config validating configuration
Fri Feb  8 10:10:29 2002  base_file.c:69 base_file_config validating configuration
Fri Feb  8 10:10:29 2002  load.c:201 dynamic loader processing configuration <load>
      <dnsrv>./dnsrv/dnsrv.so</dnsrv>
    </load>

Fri Feb  8 10:10:29 2002  load.c:201 dynamic loader processing configuration <load>
      <dialback>./dialback/dialback.so</dialback>
    </load>

Fri Feb  8 10:10:29 2002  deliver.c:277 Registering sessions with instance sessions
Fri Feb  8 10:10:29 2002  deliver.c:277 Registering jabber.adomain.com with instance sessions
Fri Feb  8 10:10:29 2002  jsm.c:93 jsm initializing for section 'sessions'
Fri Feb  8 10:10:29 2002  deliver.c:235 @-internal processing <xdb type='get' to='config at -internal' from='sessions' ns='jabber:config:jsm' id='0'/>
Fri Feb  8 10:10:29 2002  deliver.c:649 delivering to instance 'sessions'
Fri Feb  8 10:10:29 2002  xdb.c:41 xdb_results checking xdb packet <xdb type='result' to='sessions' from='config at -internal' ns='jabber:config:jsm' id='0'><jsm xmlns='jabber:config:jsm'>

      
      <filter>
          <default/>
          <max_size>100</max_size>
          <allow>
              <conditions>
                  <ns/>
                  <unavailable/>
                  <from/>
                  <resource/>
                  <subject/>
                  <body/>
                  <show/>
                  <type/>
                  <roster/>
                  <group/>
              </conditions>
              <actions>
                  <error/>
                  <offline/>
                  <forward/>
                  <reply/>
                  <continue/>
                  <settype/>
              </actions>
          </allow>
      </filter>

      

      <vCard>
        <FN>Jabber Server</FN>
        <DESC>A Jabber Server!</DESC>
        <URL>http://foo.bar/</URL>
      </vCard>

      

    
Fri Feb  8 10:10:29 2002  jsm.c:117 jsm: loading module mod_echo
Fri Feb  8 10:10:29 2002  modules.c:68 mapi_register 2 80E6450
Fri Feb  8 10:10:29 2002  jsm.c:117 jsm: loading module mod_roster
Fri Feb  8 10:10:29 2002  modules.c:68 mapi_register 0 80E6480
Fri Feb  8 10:10:29 2002  modules.c:68 mapi_register 3 80E64B0
Fri Feb  8 10:10:29 2002  jsm.c:117 jsm: loading module mod_time
Fri Feb  8 10:10:29 2002  modules.c:68 mapi_register 2 80E64E0
Fri Feb  8 10:10:29 2002  jsm.c:117 jsm: loading module mod_vcard
Fri Feb  8 10:10:29 2002  modules.c:68 mapi_register 0 80E6510
Fri Feb  8 10:10:29 2002  modules.c:68 mapi_register 1 80E6540
Fri Feb  8 10:10:29 2002  modules.c:68 mapi_register 2 80E6570
Fri Feb  8 10:10:29 2002  jsm.c:117 jsm: loading module mod_last
Fri Feb  8 10:10:29 2002  mod_last initing
Fri Feb  8 10:10:29 2002  modules.c:68 mapi_register 6 80E65A0
Fri Feb  8 10:10:29 2002  modules.c:68 mapi_register 0 80E65D0
Fri Feb  8 10:10:29 2002  modules.c:68 mapi_register 1 80E6600
Fri Feb  8 10:10:29 2002  modules.c:68 mapi_register 2 80E6630
Fri Feb  8 10:10:29 2002  jsm.c:117 jsm: loading module mod_version
Fri Feb  8 10:10:29 2002  modules.c:68 mapi_register 2 80E6660
Fri Feb  8 10:10:29 2002  util.c:92 config query update
Fri Feb  8 10:10:29 2002  jsm.c:117 jsm: loading module mod_announce
Fri Feb  8 10:10:29 2002  modules.c:68 mapi_register 2 80E66B8
Fri Feb  8 10:10:29 2002  modules.c:68 mapi_register 0 80E66E8
Fri Feb  8 10:10:29 2002  jsm.c:117 jsm: loading module mod_agents
Fri Feb  8 10:10:29 2002  mod_agents init
Fri Feb  8 10:10:29 2002  modules.c:68 mapi_register 2 80E6718
Fri Feb  8 10:10:29 2002  modules.c:68 mapi_register 0 80E6748
Fri Feb  8 10:10:29 2002  jsm.c:117 jsm: loading module mod_browse
Fri Feb  8 10:10:29 2002  modules.c:68 mapi_register 0 80E6778
Fri Feb  8 10:10:29 2002  modules.c:68 mapi_register 1 80E67A8
Fri Feb  8 10:10:29 2002  modules.c:68 mapi_register 2 80E67D8
Fri Feb  8 10:10:29 2002  jsm.c:117 jsm: loading module mod_admin
Fri Feb  8 10:10:29 2002  modules.c:68 mapi_register 2 80E6808
Fri Feb  8 10:10:29 2002  modules.c:68 mapi_register 2 80E6838
Fri Feb  8 10:10:29 2002  jsm.c:117 jsm: loading module mod_filter
Fri Feb  8 10:10:29 2002  modules.c:68 mapi_register 3 80E6868
Fri Feb  8 10:10:29 2002  modules.c:68 mapi_register 0 80E6898
Fri Feb  8 10:10:29 2002  util.c:92 config query filter
Fri Feb  8 10:10:29 2002  mod_filter mod_filter startup up... default server rule: <query xmlns='jabber:iq:filter'/>
Fri Feb  8 10:10:29 2002  jsm.c:117 jsm: loading module mod_offline
Fri Feb  8 10:10:29 2002  mod_offline init
Fri Feb  8 10:10:29 2002  modules.c:68 mapi_register 1 80E6D08
Fri Feb  8 10:10:29 2002  modules.c:68 mapi_register 0 80E6D38
Fri Feb  8 10:10:29 2002  jsm.c:117 jsm: loading module mod_presence
Fri Feb  8 10:10:29 2002  mod_presence init
Fri Feb  8 10:10:29 2002  modules.c:68 mapi_register 3 80E6D68
Fri Feb  8 10:10:29 2002  modules.c:68 mapi_register 0 80E6D98
Fri Feb  8 10:10:29 2002  jsm.c:117 jsm: loading module mod_auth_plain
Fri Feb  8 10:10:29 2002  mod_auth_plain init
Fri Feb  8 10:10:29 2002  modules.c:68 mapi_register 6 80E6DC8
Fri Feb  8 10:10:29 2002  modules.c:68 mapi_register 5 80E6DF8
Fri Feb  8 10:10:29 2002  modules.c:68 mapi_register 2 80E6E28
Fri Feb  8 10:10:29 2002  jsm.c:117 jsm: loading module mod_auth_digest
Fri Feb  8 10:10:29 2002  mod_auth_digest init
Fri Feb  8 10:10:29 2002  modules.c:68 mapi_register 5 80E6E58
Fri Feb  8 10:10:29 2002  jsm.c:117 jsm: loading module mod_auth_0k
Fri Feb  8 10:10:29 2002  mod_auth_0k initing
Fri Feb  8 10:10:29 2002  modules.c:68 mapi_register 5 80E6E88
Fri Feb  8 10:10:29 2002  modules.c:68 mapi_register 6 80E6EB8
Fri Feb  8 10:10:29 2002  modules.c:68 mapi_register 2 80E6EE8
Fri Feb  8 10:10:29 2002  jsm.c:117 jsm: loading module mod_log
Fri Feb  8 10:10:29 2002  mod_log.c:55 init
Fri Feb  8 10:10:29 2002  modules.c:68 mapi_register 0 80E6F18
Fri Feb  8 10:10:29 2002  jsm.c:117 jsm: loading module mod_xml
Fri Feb  8 10:10:29 2002  modules.c:68 mapi_register 0 80E6F48
Fri Feb  8 10:10:29 2002  modules.c:68 mapi_register 1 80E6F78
Fri Feb  8 10:10:29 2002  deliver.c:277 Registering xdb with instance xdb
Fri Feb  8 10:10:29 2002  deliver.c:277 Registering * with instance xdb
Fri Feb  8 10:10:29 2002  xdb_file.c:275 xdb_file loading
Fri Feb  8 10:10:29 2002  deliver.c:235 @-internal processing <xdb type='get' to='config at -internal' from='xdb' ns='jabber:config:xdb_file' id='0'/>
Fri Feb  8 10:10:29 2002  deliver.c:649 delivering to instance 'xdb'
Fri Feb  8 10:10:29 2002  xdb.c:41 xdb_results checking xdb packet <xdb type='result' to='xdb' from='config at -internal' ns='jabber:config:xdb_file' id='0'><xdb_file xmlns='jabber:config:xdb_file'>
      <spool>./spool</spool>
    </xdb_file></xdb>
Fri Feb  8 10:10:29 2002  deliver.c:277 Registering c2s with instance c2s
Fri Feb  8 10:10:29 2002  client.c:424 pthsock_client loading
Fri Feb  8 10:10:29 2002  deliver.c:235 @-internal processing <xdb type='get' to='config at -internal' from='c2s' ns='jabber:config:pth-csock' id='0'/>
Fri Feb  8 10:10:29 2002  deliver.c:649 delivering to instance 'c2s'
Fri Feb  8 10:10:29 2002  xdb.c:41 xdb_results checking xdb packet <xdb type='result' to='c2s' from='config at -internal' ns='jabber:config:pth-csock' id='0'><pthcsock xmlns='jabber:config:pth-csock'>
      <authtime/>
      <karma>
        <init>10</init>
        <max>10</max>
        <inc>1</inc>
        <dec>1</dec>
        <penalty>-6</penalty>
        <restore>10</restore>
      </karma>
      

      <ip port='5222'>207.203.23.123</ip>

      

      <ssl port='5223'>207.203.23.123</ssl>

      
    </pthcsock></xdb>
Fri Feb  8 10:10:29 2002  mio.c:1115 io_select to listen on 5222 [207.203.23.123]
Fri Feb  8 10:10:29 2002  mio.c:1139 io_select starting to listen on 5222 [207.203.23.123]
Fri Feb  8 10:10:29 2002  deliver.c:277 Registering elogger with instance elogger
Fri Feb  8 10:10:29 2002  deliver.c:277 Registering * with instance elogger
Fri Feb  8 10:10:29 2002  deliver.c:383 Registering logtype * with instance elogger
Fri Feb  8 10:10:29 2002  base_format.c:112 base_format configuring instance elogger 
Fri Feb  8 10:10:29 2002  base_file.c:80 base_file configuring instance elogger
Fri Feb  8 10:10:29 2002  base_stderr.c:64 base_stderr configuring instnace elogger
Fri Feb  8 10:10:29 2002  deliver.c:277 Registering rlogger with instance rlogger
Fri Feb  8 10:10:29 2002  deliver.c:277 Registering * with instance rlogger
Fri Feb  8 10:10:29 2002  deliver.c:383 Registering logtype record with instance rlogger
Fri Feb  8 10:10:29 2002  base_format.c:112 base_format configuring instance rlogger 
Fri Feb  8 10:10:29 2002  base_file.c:80 base_file configuring instance rlogger
Fri Feb  8 10:10:29 2002  deliver.c:277 Registering dnsrv with instance dnsrv
Fri Feb  8 10:10:29 2002  deliver.c:277 Registering * with instance dnsrv
Fri Feb  8 10:10:29 2002  deliver.c:235 @-internal processing <xdb type='get' to='config at -internal' from='dnsrv' ns='jabber:config:dnsrv' id='0'/>
Fri Feb  8 10:10:29 2002  deliver.c:649 delivering to instance 'dnsrv'
Fri Feb  8 10:10:29 2002  xdb.c:41 xdb_results checking xdb packet <xdb type='result' to='dnsrv' from='config at -internal' ns='jabber:config:dnsrv' id='0'><dnsrv xmlns='jabber:config:dnsrv'>
        <resend service='_jabber._tcp'>s2s</resend> 
        <resend>s2s</resend>
    </dnsrv></xdb>
Fri Feb  8 10:10:29 2002  dnsrv.c:534 dnsrv debug: <dnsrv xmlns='jabber:config:dnsrv'>
        <resend service='_jabber._tcp'>s2s</resend> 
        <resend>s2s</resend>
    </dnsrv>

Fri Feb  8 10:10:29 2002  dnsrv.c:132 DNSRV CHILD: startingFri Feb  8 10:10:29 2002  mio.c:624 socket 5 has restore karma -100 -=> 10

Fri Feb  8 10:10:29 2002  deliver.c:277 Registering s2s with instance s2s
Fri Feb  8 10:10:29 2002  dialback.c:265 dialback loading
Fri Feb  8 10:10:29 2002  deliver.c:235 @-internal processing <xdb type='get' to='config at -internal' from='s2s' ns='jabber:config:dialback' id='0'/>
Fri Feb  8 10:10:29 2002  deliver.c:649 delivering to instance 's2s'
Fri Feb  8 10:10:29 2002  xdb.c:41 xdb_results checking xdb packet <xdb type='result' to='s2s' from='config at -internal' ns='jabber:config:dialback' id='0'><dialback xmlns='jabber:config:dialback'>
      <legacy/>
      
      <ip port='5269'/>
      <karma>
        <init>50</init>
        <max>50</max>
        <inc>4</inc>
        <dec>1</dec>
        <penalty>-5</penalty>
        <restore>50</restore>
      </karma>
    </dialback></xdb>
Fri Feb  8 10:10:29 2002  mio.c:1115 io_select to listen on 5269 [(null)]
Fri Feb  8 10:10:29 2002  dnsrv.c:147 DNSRV CHILD: Read from buffer: <stream>
Fri Feb  8 10:10:29 2002  mio.c:1139 io_select starting to listen on 5269 [(null)]
Fri Feb  8 10:10:29 2002  mio.c:624 socket 8 has restore karma -100 -=> 50



-- 




__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop at Netscape! http://shopnow.netscape.com/

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/




More information about the JDev mailing list