{"id":11028,"date":"2018-03-27T07:44:09","date_gmt":"2018-03-27T05:44:09","guid":{"rendered":"https:\/\/daniel.haxx.se\/blog\/?p=11028"},"modified":"2018-03-27T07:51:51","modified_gmt":"2018-03-27T05:51:51","slug":"play-tls-1-3-with-curl","status":"publish","type":"post","link":"https:\/\/daniel.haxx.se\/blog\/2018\/03\/27\/play-tls-1-3-with-curl\/","title":{"rendered":"Play TLS 1.3 with curl"},"content":{"rendered":"<p>The <a href=\"https:\/\/www.ietf.org\/mail-archive\/web\/ietf-announce\/current\/msg17592.html\">IESG recently approved the TLS 1.3 draft-28 for proposed standard<\/a> and we can expect the real RFC for this protocol version to appear soon (within a few months probably).<\/p>\n<p>TLS 1.3 has been in development for quite some time by now, and a lot of TLS libraries already support it to some extent. At varying draft levels.<\/p>\n<p><a href=\"https:\/\/curl.haxx.se\/\">curl and libcurl<\/a> has supported an explicit option to select TLS 1.3 since curl 7.52.0 (December 2016) and assuming you build curl to use a TLS library with support, you&#8217;ve been able to use TLS 1.3 with curl since at least then. The support has gradually been expanded to cover more and more libraries since then.<\/p>\n<p>Today, curl and libcurl support speaking TLS 1.3 if you build it to use one of these fine TLS libraries of a recent enough version:<\/p>\n<ul>\n<li>OpenSSL<\/li>\n<li>BoringSSL<\/li>\n<li>libressl<\/li>\n<li>NSS<\/li>\n<li>WolfSSL<\/li>\n<li>Secure Transport (on iOS 11 or later, and macOS 10.13 or later)<\/li>\n<\/ul>\n<p>GnuTLS seems to be well on their way too. TLS 1.3 support exists in the <a href=\"https:\/\/gitlab.com\/gnutls\/gnutls\/tree\/master\">GnuTLS master branch on gitlab<\/a>.<\/p>\n<p>curl&#8217;s TLS 1.3-support makes it possible to select TLS 1.3 as preferred minimum version.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The IESG recently approved the TLS 1.3 draft-28 for proposed standard and we can expect the real RFC for this protocol version to appear soon (within a few months probably). TLS 1.3 has been in development for quite some time by now, and a lot of TLS libraries already support it to some extent. At &hellip; <a href=\"https:\/\/daniel.haxx.se\/blog\/2018\/03\/27\/play-tls-1-3-with-curl\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Play TLS 1.3 with curl<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":5,"featured_media":10688,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,13,6,133],"tags":[392,33,232,391,44,193,381,471],"class_list":["post-11028","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-curl","category-net","category-floss","category-security","tag-boringssl","tag-curl-and-libcurl","tag-gnutls","tag-libressl","tag-nss","tag-openssl","tag-tls","tag-wolfssl"],"_links":{"self":[{"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/posts\/11028","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/comments?post=11028"}],"version-history":[{"count":9,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/posts\/11028\/revisions"}],"predecessor-version":[{"id":11039,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/posts\/11028\/revisions\/11039"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/media\/10688"}],"wp:attachment":[{"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/media?parent=11028"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/categories?post=11028"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/tags?post=11028"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}