[jboss-user] [Security JAAS/JBoss] - Multiple SSL Connectors

2008-07-07 Thread aiko85
Hi!

I've configured JBoss 4.2.1 to use multiple SSL connectors; have modified 
deploy/jboss-web.deployer/server.xml like so:

  




Is it possible now to make it so one application only responds on port 18443 
and the other on port 18444?

Thanks for any help
Anne


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4162871#4162871

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162871
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security JAAS/JBoss] - Re: Multiple SSL Connectors

2008-07-07 Thread aiko85
Oh, sorry, here's the server.xml code:


  | 
  |   Connector port=18443 address=localhost maxThreads=100
  |  minSpareThreads=5 strategy=ms maxSpareThreads=15 
scheme=https
  |  emptySessionPath=true SSLEnabled=true
  |  secure=true clientAuth=false
  |  keystoreFile=${jboss.server.home.dir}/conf/ssl-server.jks
  |  keystorePass=password
  |  
truststoreFile=${jboss.server.home.dir}/conf/ssl-server-truststore.jks
  |  truststorePass=password
  |  sslProtocol=TLS/
  | 
  | Connector port=18444 address=localhost maxThreads=100
  |  minSpareThreads=5 strategy=ms maxSpareThreads=15 
scheme=https
  |  emptySessionPath=true SSLEnabled=true
  |  secure=true clientAuth=true
  |  keystoreFile=${jboss.server.home.dir}/conf/ssl-server-n.jks
  |  keystorePass=password
  |  
truststoreFile=${jboss.server.home.dir}/conf/ssl-server-truststore-n.jks
  |  truststorePass=password
  |  sslProtocol=TLS/
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4162872#4162872

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162872
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security JAAS/JBoss] - Client for SSL WebService

2008-07-01 Thread aiko85
Hi!

I'm trying to connect to SSL-secured webservice; my client code looks like this:

System.setProperty(javax.net.ssl.trustStore, trustStoreLocation);
System.setProperty(javax.net.ssl.trustStorePassword, trustStorePass);
this.service = Service.create(new URL(wsdl), new QName(nameSpace, serviceName));

Now, this works fine when I run it as a stand-alone application and I'm able to 
use the webservice without problems...
but when I use it as a part of application deployed on Jboss I get: 


sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
valid certification path to requested target
at 
sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:236)
at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:194)
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:216)
at 
sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:145)
at sun.security.validator.Validator.validate(Validator.java:203)
at 
com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:172)
at 
com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(SSLContextImpl.java:320)
...

Can anyone help me with this :(? 

Regards,
Anne


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4161745#4161745

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161745
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Different ports for different applications

2008-06-27 Thread aiko85
Hi!

Is it possible to deploy two or more applications so each is listening on a 
different port?

Thanks for any help :)
Anne

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4161132#4161132

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161132
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user