<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
There are ALPN/NPN callbacks that need to be set. Documentation was added recently to 1.0.2:
<div class=""><br class="">
</div>
<div class=""><a href="https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_alpn_select_cb.html" class="">https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_alpn_select_cb.html</a></div>
<div class=""><br class="">
<div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">--</div>
<div class="">-Todd Short</div>
<div class="">// <a href="mailto:tshort@akamai.com" class="">tshort@akamai.com</a></div>
<div class="">// "One if by land, two if by sea, three if by the Internet."</div>
</div>
</div>
</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Apr 20, 2016, at 5:53 AM, james sqawz <<a href="mailto:james.sqawz@gmail.com" class="">james.sqawz@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<div style="font-size:12.8px" class=""><span style="font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif;" class="">Hi all,</span></div>
<div style="font-size:12.8px" class=""><span style="font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif;" class=""><br class="">
</span></div>
<div style="font-size:12.8px" class=""><span style="font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif;" class="">I want to add two extension field in CLIENT HELLO request.</span></div>
<div style="font-size:12.8px" class=""><span style="font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif;" class=""><br class="">
</span></div>
<div style="font-size:12.8px" class=""><span style="font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif;" class="">Extension: next protocol  negotiation</span><br class="">
</div>
<div class="">
<div style="font-size:15px;color:rgb(33,33,33);font-family:wf_segoe-ui_normal,'Segoe UI','Segoe WP',Tahoma,Arial,sans-serif;margin-top:0px;margin-bottom:0px" class="">
<font face="Calibri,Arial,Helvetica,sans-serif" size="2" style="font-family: Calibri, Arial, Helvetica, sans-serif;" class=""><span style="font-size:16px" class="">Extension</span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2" style="font-family: Calibri, Arial, Helvetica, sans-serif;" class=""><span style="font-size:16px" class="">:application
 layer protocol negotiation</span></font></div>
<div style="font-size:15px;color:rgb(33,33,33);font-family:wf_segoe-ui_normal,'Segoe UI','Segoe WP',Tahoma,Arial,sans-serif;margin-top:0px;margin-bottom:0px" class="">
<font face="Calibri,Arial,Helvetica,sans-serif" size="2" style="font-family: Calibri, Arial, Helvetica, sans-serif;" class=""><span style="font-size:16px" class=""><br class="">
</span></font></div>
<div style="margin-top:0px;margin-bottom:0px" class=""><font face="Calibri, Arial, Helvetica, sans-serif" class=""><span style="font-size:16px" class="">For that purpose which API/function of openssl I will call?</span></font></div>
<div style="margin-top:0px;margin-bottom:0px" class=""><font face="Calibri, Arial, Helvetica, sans-serif" class=""><span style="font-size:16px" class=""><br class="">
</span></font></div>
<div style="margin-top:0px;margin-bottom:0px" class=""><font face="Calibri, Arial, Helvetica, sans-serif" class=""><span style="font-size:16px" class="">Thanks</span></font></div>
<div style="margin-top:0px;margin-bottom:0px" class=""><font face="Calibri, Arial, Helvetica, sans-serif" class=""><span style="font-size:16px" class="">Pranab</span></font></div>
<div style="font-size:15px;color:rgb(33,33,33);font-family:wf_segoe-ui_normal,'Segoe UI','Segoe WP',Tahoma,Arial,sans-serif;margin-top:0px;margin-bottom:0px" class="">
<font face="Calibri,Arial,Helvetica,sans-serif" size="2" style="font-family: Calibri, Arial, Helvetica, sans-serif;" class=""><span style="font-size:16px" class=""><br class="">
</span></font></div>
</div>
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On Mon, Apr 18, 2016 at 6:16 PM, james sqawz <span dir="ltr" class="">
<<a href="mailto:james.sqawz@gmail.com" target="_blank" class="">james.sqawz@gmail.com</a>></span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr" class="">Hi all,
<div class=""><br class="">
</div>
<div class="">Thanks for the providing the forum for discussion on TLS/OPENSSL related issue.</div>
<div class=""><br class="">
</div>
<div class="">I am very new to openssl.</div>
<div class=""><br class="">
</div>
<div class="">Currently I am trying to implement HTTP over TLS.(TLS Version 1.2)</div>
<div class="">For that purpose I send connect request to the server,but connection is getting failed.</div>
<div class=""><br class="">
</div>
<div class="">Following fields are abscent in my ssl packet.</div>
<div class=""><br class="">
</div>
<div class=""><span style="font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif;" class="">Extension: server name present</span><br class="">
</div>
<div class="">
<div style="color:rgb(33,33,33);font-family:wf_segoe-ui_normal,'Segoe UI','Segoe WP',Tahoma,Arial,sans-serif;font-size:15px;margin-top:0px;margin-bottom:0px" class="">
<font face="Calibri,Arial,Helvetica,sans-serif" size="2" style="font-family: Calibri, Arial, Helvetica, sans-serif;" class=""><span style="font-size:16px" class="">Extension</span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2" style="font-family: Calibri, Arial, Helvetica, sans-serif;" class=""><span style="font-size:16px" class="">:application
 layer protocol negotiation</span></font><br class="">
</div>
</div>
<div class=""><br class="">
</div>
<div class="">Apart from that I did not set path of Server Certificate.</div>
<div class=""><br class="">
</div>
<div class="">Shall these impact my connect request.<br class="">
</div>
<div class="">Can somebody help.</div>
<div class=""><br class="">
</div>
<div class="">Thanks</div>
<span class="HOEnZb"><font color="#888888" class="">
<div class="">James </div>
</font></span></div>
</blockquote>
</div>
<br class="">
</div>
-- <br class="">
openssl-users mailing list<br class="">
To unsubscribe: <a href="https://mta.openssl.org/mailman/listinfo/openssl-users" class="">
https://mta.openssl.org/mailman/listinfo/openssl-users</a><br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>