<?xml version="1.0" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.jacorb.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://www.jacorb.org/bugzilla/"
          
          maintainer="jacorb@goots.org"
>

    <bug>
          <bug_id>822</bug_id>
          
          <creation_ts>2008-01-16 20:01:35 +0000</creation_ts>
          <short_desc>jacorb.properties cannot turn off verifying server&apos;s certficate in a client</short_desc>
          <delta_ts>2014-04-25 17:50:16 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>JacORB</product>
          <component>SSL/IIOP</component>
          <version>2.3.0</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>REOPENED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Terry Xie">txie</reporter>
          <assigned_to name="Gerald Brose">gerald.brose</assigned_to>
          <cc>jacorb</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2283</commentid>
    <comment_count>0</comment_count>
    <who name="Terry Xie">txie</who>
    <bug_when>2008-01-16 20:01:35 +0000</bug_when>
    <thetext>No matter which option you try, there is no way to turn off  verifying 
service&apos;s certficate in a client.  In other words, you have to go to the 
cacerts and add the service&apos;s certificate to the jre&apos;s trust store.

Available options:

# IIOP/SSL parameters (numbers are hex values, without the leading &quot;0x&quot;):
# NoProtection = 1
# EstablishTrustInClient = 40
# EstablishTrustInTarget = 20
# mutual authentication = 60
# please see the programming guide for more explanation

A workaround is to use this setting with a no trust check :
jacorb.security.ssl.client.trust_manager=com.incognito.NoTrustManager


BTW, the NoProtection = 1 ( I think it means no authentication for both client/
server) cannot work at all because checkSSL method will check if the minimum 
option masked with it is 0 then SSL is not selected at all.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2284</commentid>
    <comment_count>1</comment_count>
    <who name="Terry Xie">txie</who>
    <bug_when>2008-01-16 20:02:26 +0000</bug_when>
    <thetext>This bug needs bug 820 to fix first since the configuration properties are read 
incorrectly as non-hex.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2756</commentid>
    <comment_count>2</comment_count>
    <who name="Nick Cross">rnc</who>
    <bug_when>2011-09-29 16:21:03 +0000</bug_when>
    <thetext>I think this is fixed in CVS - please retest and reopen if required.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3127</commentid>
    <comment_count>3</comment_count>
    <who name="Terry Xie">txie</who>
    <bug_when>2014-04-24 17:30:13 +0000</bug_when>
    <thetext>Using NoProtection = 1 still doesn&apos;t work on the client. There is an handshake exception:

org.omg.CORBA.COMM_FAILURE: IOException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found  vmcid: 0x0  minor code: 0  completed: No

This workaround is still needed:
jacorb.security.ssl.client.trust_manager=com.incognito.NoTrustManager

Jacorb 3.3 stable release</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3130</commentid>
    <comment_count>4</comment_count>
    <who name="Nick Cross">jacorb</who>
    <bug_when>2014-04-25 17:50:16 +0000</bug_when>
    <thetext>Can you please supply the configuration you are using (ideally a test case) ?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>