<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Am 28.01.2016 um 12:02 schrieb Marcos
      Bontempo:<br>
    </div>
    <blockquote cite="mid:BLU168-W269DF062F6F3520DB05932CEDA0@phx.gbl"
      type="cite">
      <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
      <div dir="ltr">
        <div>Hello,</div>
        <div><br>
        </div>
        <div>I'm using this example to make a SSL connection:
          <a class="moz-txt-link-freetext" href="http://fm4dd.com/openssl/sslconnect.htm">http://fm4dd.com/openssl/sslconnect.htm</a>.</div>
        <div>Now I want to also acess a HTTPS proxy. Is there a way to
          acess a HTTPS proxy with the OpenSSL library?</div>
        <div><br>
        </div>
        <div>Any tip will be very helpful,</div>
        <div>Thanks.</div>
      </div>
    </blockquote>
    <br>
    See <a class="moz-txt-link-freetext" href="http://wiki.squid-cache.org/Features/HTTPS">http://wiki.squid-cache.org/Features/HTTPS</a> and
    <a class="moz-txt-link-freetext" href="http://tools.ietf.org/rfc/rfc2817">http://tools.ietf.org/rfc/rfc2817</a>.<br>
    <br>
    AFAIK OpenSSL does not provide specific support for SSL via proxy,
    but you can set up a SSL connection using the CONNECT request to the
    proxy.<br>
    <br>
    Using a proxy for SSL connection does not make sense if you want to
    take advantage of a proxy's caching feature, since these CONNECT
    requests cannot be cached. This is by design.<br>
    <br>
    Using a proxy for SSL can be useful if you want to avoid NAT, or
    want to log, or filter, the connection targets.<br>
    <br>
    Hope this helps,<br>
    Ted<br>
    ;)<br>
    <pre class="moz-signature" cols="72">-- 
PGP Public Key Information
Key ID = 7AFB8D26
Key fingerprint = 31B0 E029 BCF9 6605 DAC1  B2E1 0CC8 70F4 7AFB 8D26
</pre>
  </body>
</html>