<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:57:41 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[JAVA-2626] Tunneling SSL Through the Proxy Server</title>
                <link>https://jira.mongodb.org/browse/JAVA-2626</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;Hello, &lt;/p&gt;

&lt;p&gt;For non-SSL connections one can overload &lt;tt&gt;createSocket()&lt;/tt&gt; constructor to return sockets configured to use Proxy. &lt;/p&gt;

&lt;p&gt;Case for SSL sockets is different. As per documentation for &lt;a href=&quot;http://docs.oracle.com/javase/7/docs/api/javax/net/ssl/SSLSocketFactory.html#createSocket(java.net.Socket,%20java.lang.String,%20int,%20boolean&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;SSLSocketFactory&lt;/a&gt; &lt;tt&gt;createSocket(Socket s, String host, int port, boolean autoClose)&lt;/tt&gt; can be used when tunneling SSL through a proxy: &lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;em&gt;Returns a _socket layered over an existing socket&lt;/em&gt; connected to the named host, at the given port. This constructor can be used when tunneling SSL through a proxy or when negotiating the use of SSL over an existing socket. The host and port refer to the logical peer destination. This socket is configured using the socket options established for this factory._ &lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;For our Java Driver, currently it is not possible to configure Proxy for SSL connections by overriding this method because we create the socket first, then initialize it before connecting. We&apos;d need an &lt;tt&gt;SocketFactory&lt;/tt&gt; that can handle that workflow or change how we create the socket. &lt;/p&gt;</description>
                <environment></environment>
        <key id="442279">JAVA-2626</key>
            <summary>Tunneling SSL Through the Proxy Server</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="2">Won&apos;t Fix</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="nishant.bhardwaj@mongodb.com">Nishant Bhardwaj</reporter>
                        <labels>
                    </labels>
                <created>Mon, 9 Oct 2017 04:26:07 +0000</created>
                <updated>Thu, 25 Jan 2018 15:49:01 +0000</updated>
                            <resolved>Thu, 25 Jan 2018 15:49:01 +0000</resolved>
                                                                    <component>Security</component>
                    <component>Session Management</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                    <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="171900" name="Socket_test_proxy_SSLProxy.java" size="7646" author="nishant.bhardwaj@mongodb.com" created="Wed, 29 Nov 2017 10:48:23 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|ht9853:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>