{"id":3979,"date":"2012-06-28T19:28:29","date_gmt":"2012-06-28T17:28:29","guid":{"rendered":"http:\/\/daniel.haxx.se\/blog\/?p=3979"},"modified":"2024-06-28T13:03:24","modified_gmt":"2024-06-28T11:03:24","slug":"darwin-native-ssl-for-curl","status":"publish","type":"post","link":"https:\/\/daniel.haxx.se\/blog\/2012\/06\/28\/darwin-native-ssl-for-curl\/","title":{"rendered":"darwin native SSL for curl"},"content":{"rendered":"\n<p>I recently mentioned the new <a href=\"http:\/\/daniel.haxx.se\/blog\/2012\/06\/12\/schannel-support-in-libcurl\/\">schannel<\/a> support for libcurl that allows libcurl to do SSL natively without the use of any external libraries on Windows.<\/p>\n\n\n\n<p>This &#8220;getting native support&#8221; obviously <a href=\"http:\/\/curl.haxx.se\/mail\/lib-2012-06\/0334.html\">triggered Nick Zitzmann<\/a> who stepped up and sent in <a href=\"https:\/\/developer.apple.com\/library\/mac\/#documentation\/security\/Reference\/secureTransportRef\/Reference\/reference.html\">Secure Transport<\/a> support &#8211; the native API for doing SSL on Mac OS X and iOS. This <strong>ninth<\/strong> supported SSL library is now called &#8216;darwinssl&#8217; in the curl code base. There have been some follow-up commits too to cleanup things and make use of that API for providing the necessary function calls when doing NTLM too etc.<\/p>\n\n\n\n<p>This functionality is merged in to curl&#8217;s\u00a0<a href=\"https:\/\/github.com\/bagder\/curl\">master git repository<\/a> and will be part of the upcoming <strong>curl 7.27.0<\/strong> release, planned to hit the public at the end of July 2012.<\/p>\n\n\n\n<p>It could be noted that if your for example build curl\/libcurl to also support SCP and SFTP, you&#8217;d be linking with <a href=\"http:\/\/www.libssh2.org\/\">libssh2<\/a> for that and libssh2 is still relying on a crypto library that is either <a href=\"http:\/\/www.openssl.org\/\">OpenSSL<\/a> or <a href=\"http:\/\/www.gnu.org\/software\/libgcrypt\/\">gcrypt<\/a> so you may in fact still end up linking with a 3rd party crypto library&#8230; Nick mentioned in a separate mail how he has looked into <a href=\"http:\/\/curl.haxx.se\/mail\/lib-2012-06\/0377.html\">making libssh2 use the Secure Transport API<\/a>, but that he faced some issues regarding big numbers which made him hesitate and consider how to move forward.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently mentioned the new schannel support for libcurl that allows libcurl to do SSL natively without the use of any external libraries on Windows. This &#8220;getting native support&#8221; obviously triggered Nick Zitzmann who stepped up and sent in Secure Transport support &#8211; the native API for doing SSL on Mac OS X and iOS. &hellip; <a href=\"https:\/\/daniel.haxx.se\/blog\/2012\/06\/28\/darwin-native-ssl-for-curl\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">darwin native SSL for curl<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,6,133],"tags":[33,424,193,43],"class_list":["post-3979","post","type-post","status-publish","format-standard","hentry","category-curl","category-floss","category-security","tag-curl-and-libcurl","tag-libssh2","tag-openssl","tag-ssl"],"_links":{"self":[{"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/posts\/3979","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=3979"}],"version-history":[{"count":16,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/posts\/3979\/revisions"}],"predecessor-version":[{"id":25096,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/posts\/3979\/revisions\/25096"}],"wp:attachment":[{"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/media?parent=3979"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/categories?post=3979"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/tags?post=3979"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}