There are ALPN/NPN callbacks that need to be set. Documentation was added recently to 1.0.2: https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_alpn_select_cb.html -- -Todd Short // tshort at akamai.com<mailto:tshort at akamai.com> // "One if by land, two if by sea, three if by the Internet." On Apr 20, 2016, at 5:53 AM, james sqawz <james.sqawz at gmail.com<mailto:james.sqawz at gmail.com>> wrote: Hi all, I want to add two extension field in CLIENT HELLO request. Extension: next protocol negotiation Extension:application layer protocol negotiation For that purpose which API/function of openssl I will call? Thanks Pranab On Mon, Apr 18, 2016 at 6:16 PM, james sqawz <james.sqawz at gmail.com<mailto:james.sqawz at gmail.com>> wrote: Hi all, Thanks for the providing the forum for discussion on TLS/OPENSSL related issue. I am very new to openssl. Currently I am trying to implement HTTP over TLS.(TLS Version 1.2) For that purpose I send connect request to the server,but connection is getting failed. Following fields are abscent in my ssl packet. Extension: server name present Extension:application layer protocol negotiation Apart from that I did not set path of Server Certificate. Shall these impact my connect request. Can somebody help. Thanks James -- openssl-users mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20160511/108191ad/attachment.html>