code: public synchronized void checkURLHostNameVerificationProperty(boolean reinitialize) {
          // enable/disable hostname verification
          String urlHostNameVerification = getGlobalProperty(Constants.SSLPROP_URL_HOSTNAME_VERIFICATION);
  
          if (urlHostNameVerification == null || urlHostNameVerification.equalsIgnoreCase("false") || urlHostNameVerification.equalsIgnoreCase("no")) {
              if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                  Tr.debug(tc, "com.ibm.ssl.performURLHostNameVerification disabled");
              HostnameVerifier verifier = new HostnameVerifier() {
                  @Override
                  public boolean verify(String urlHostname, SSLSession session) {
                      return true;
                  }
              };
              HttpsURLConnection.setDefaultHostnameVerifier(verifier);
  
              if (!reinitialize) {
                  Tr.info(tc, "ssl.disable.url.hostname.verification.CWPKI0027I");
              }
          } else {
              if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                  Tr.debug(tc, "com.ibm.ssl.performURLHostNameVerification enabled");
          }
      }
docs: *
  This method installs a hostname verification checker that defaults to not
  check the hostname. If it does not install this hostname verification
  checker, then any URL connections must have a certificate that matches the
  host that sent it.
  
  @param reinitialize
  *