Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-687

Support for custom hostname verifiers

XMLWordPrintable

      My organization has a custom TrustKeyStore which has been configured by weblogic start parameter as below.

      weblogic.security.SSL.ignoreHostnameVerifictaion=false
      weblogic.security.SS.hostNameVerifier='custom built class name goes here'
      weblogic.security.TrustKeyStore=CustomTrust
      weblogic.security.CustomTrustKeyStoreFileName='location of the .properties file here'
      weblogic.security.CustomTrustKeyStorePassPhrase='pass phrase here'
      weblogic.security.CustomTrustKeyStoreType='TYPE goes here'

      I tried JSFUnit with Arquillian on normal weblogic server (downloaded and installed from Oracle) and its working great. But when I try to run it on organization provided weblogic env, it fails with error on client side with message, "Certificate chain received from localhost was not trusted causing SSL handshake failure etc..etc.." and on server console the error message is BAD_CERTIFICATE alert was received from localhost etc..etc..
      The configuration is as below.

      <container qualifier="wls-ssl-demotrust" default="true">
      <configuration>
      <property name="adminUrl">t3s://localhost:9998</property>
      <property name="adminUserName">weblogic</property>
      <property name="adminPassword">weblogic</property>
      <property name="target">admin_server_name</property>
      <property name="wlsHome">HOME DIRECTORY HERE</property>
      <property name="useCustomTrust">true</property>
      <property name="trustStoreLocation">location of the .properties file here</property>
      <property name="trustStorePassword">pass phrase here</property>
      </configuration>
      </container>

              vineet.reynolds_jira Vineet Reynolds (Inactive)
              shasts_jira Shajahan Palayil (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: