JBoss Community

Retrieve Server's Certificate

reply from Ron Sigal in JBoss Remoting - View the full discussion

Hi Jimmy,

 

Remoting itself doesn't have the facility you're asking for.  Perhaps it will be available in Remoting 3.

 

For now, all I can think of is to try to use the RMI remote classloading facility built into the Application Server, though I really can't promise that it will work.  I can tell you that the AS starts a special case web server to service RMI, and it can also return files other than class files.  See Section 10.6. "RMI  Dynamic Class Loading" in the AS Administration And Development Guide at http://docs.jboss.org/jbossas/docs/Server_Configuration_Guide/4/html/index.html for a very brief introduction.  I guess you would have to send the appropriate HTTP message with the path to the truststore.  Also, you would have to set the parameter "DownloadResources" to "true" in the "jboss:service=WebService" MBean in $JBOSS/server/$CONFIG/conf/jboss-service.xml.

 

I'm guessing that this idea can be made to work, but I could be all wrong.

 

-Ron

Reply to this message by going to Community

Start a new discussion in JBoss Remoting at Community