12 Replies Latest reply on May 3, 2004 7:26 AM by tonyawbrey

    ssl on multiple JBossinstances

    bdv

      Hi,

      I've got application and "SSL/TLS Connector using the SSL domain keystore" is working fine on port 443. (certificate is shown, ...)

      Once I configure Jboss for multiple instance, using the sample-bindings.xml from the examples, the secured "https" connection won't work.
      Anybody knows what I have to change in the sample-bindings.xml????
      I already tried adding a variable "portSSL" to the xsl and inserting it in the choose part of the xsl, but it didn't work either.
      Searched in doc about ssl and service binding etc, but didn't find an working answer.

      Benny

        • 1. Re: ssl on multiple JBossinstances
          tonyawbrey72

          I posted same issue a week ago and haven't gotten any replies, just FYI and I still haven't been able to figure out a solution. If you have any luck with this could you shoot me an email, I would be more than willing to do the same. It works fine until you throw the binding manager into the mix, I hardcoded the ports for the second instance and it works.

          Thanks,

          Tony Awbrey

          • 2. Re: ssl on multiple JBossinstances
            bdv

            Ok, I'll let you know as soon as I find something. Are we the only one having this problem????
            OR isn't this possible in JBOSS??? and do we have to run on another applicationserver???

            • 3. Re: ssl on multiple JBossinstances
              darranl

               

              isn't this possible in JBOSS??? and do we have to run on another applicationserver???


              It is quite funny really how people think they are actually doing JBoss a favour by using it and expect immediate support by sugesting that they will use something else.

              • 4. Re: ssl on multiple JBossinstances
                bdv

                I was just kidding

                • 5. Re: ssl on multiple JBossinstances
                  starksm64

                  Not one of you has posted version info. Try giving the version of jboss, which tomcat version your using and what you have done to enable the ssl port mapping in the sample-bindings.xml?

                  • 6. Re: ssl on multiple JBossinstances
                    bdv

                    jboss 3.2.3

                    i added following line to the XSLT-config part:

                    <xsl:variable name="portSSL" select="$port + 363"/>

                    and a bit further I added following lines to de xsl choose

                    <xsl:when test="(name() = 'port' and . = '8443')">
                    <xsl:attribute name="port"><xsl:vakue-of select="$portSSL" />
                    </xsl:attribute>
                    </xsl:when>

                    Is this enough information???

                    • 7. Re: ssl on multiple JBossinstances
                      bdv

                      sorry forgot something.

                      In the deploydirectory I found a "jbossweb-tomcat41.sar". So now you know the version of tomcat too.

                      • 8. Re: ssl on multiple JBossinstances
                        bdv

                        anyone?

                        • 9. Re: ssl on multiple JBossinstances
                          bdv

                          Still haven't found a solution. Does anyone have any ideas??? There has to be a way!

                          • 10. Re: ssl on multiple JBossinstances
                            tonyawbrey

                            BDV, I have 3.2.4RC1 installed here and looked through the binding manager xml that is provided and it contains stuff for the SSL ports now. I haven't and won't have time to look into this for awhile as I am on some tight deadlines but this may resolve? If you try and it does, please post back to let me know.

                            Thanks,

                            Tony

                            • 11. Re: ssl on multiple JBossinstances
                              bdv

                              Works great

                              Isn't it nice to finally have a solution for our problem!!! It was definitely worth waiting for.

                              • 12. Re: ssl on multiple JBossinstances
                                tonyawbrey

                                That's great news, thanks for getting replying! Hopefully someone down the road will be able to find the answer to this sooner than we were able to.

                                Thanks!

                                Tony