{"id":24714,"date":"2026-05-20T21:12:52","date_gmt":"2026-05-20T13:12:52","guid":{"rendered":"https:\/\/blog.iyatt.com\/?p=24714"},"modified":"2026-05-20T21:22:35","modified_gmt":"2026-05-20T13:22:35","slug":"vcpkg-%e9%94%99%e8%af%af-error-curl-operation-failed-with-error-code-35-ssl-connect-error-%e3%80%90%e6%9c%aa%e6%98%8e%e7%a1%ae%e6%80%8e%e4%b9%88%e8%a7%a3%e5%86%b3%e7%9a%84%e3%80%91","status":"publish","type":"post","link":"https:\/\/blog.iyatt.com\/?p=24714","title":{"rendered":"vcpkg \u9519\u8bef error: curl operation failed with error code 35 (SSL connect error).\u3010\u83ab\u540d\u5947\u5999\u89e3\u51b3\u7684\u3011"},"content":{"rendered":"<ul>\n<li>Windows 11 25H2<\/li>\n<li>Visual Studio Community 2026<\/li>\n<li>vcpkg 2026-03-04-4b3e4c276b5b87a649e66341e11553e8c577459c<\/li>\n<li>curl 8.19.0 (Windows) libcurl\/8.19.0 Schannel zlib\/1.3.1 WinIDN WinLDAP<\/li>\n<\/ul>\n<p>2026\/5\/20<br \/>\n\u4e24\u53f0 Windows 11 \u7535\u8111\uff0c\u540c\u6837\u7684 vcpkg\u3001\u540c\u6837\u7684\u4ee3\u7406\u914d\u7f6e\u548c\u8282\u70b9\uff08\u6574\u4e2a\u8f6f\u4ef6\u542b\u914d\u7f6e\u590d\u5236\uff09\uff0c\u4e00\u53f0 vcpkg \u6b63\u5e38\uff0c\u4e00\u53f0\u51fa\u9519\u5982\u4e0b<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2026\/05\/image-1779283281171.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 1485px; --smush-placeholder-aspect-ratio: 1485\/177;\" \/><\/p>\n<pre><code class=\"language-bash\">\u4e25\u91cd\u6027 \u4ee3\u7801 \u8bf4\u660e \u9879\u76ee \u6587\u4ef6 \u884c \u6291\u5236\u72b6\u6001 \u8be6\u7ec6\u4fe1\u606f\n\n\u9519\u8bef curl \u64cd\u4f5c\u5931\u8d25\uff0c\u9519\u8bef\u4ee3\u7801\u4e3a 35 (SSL connect error). CadTools C:\\work\\development\\CadTools\\EXEC 1\n\n\u9519\u8bef \u4e0d\u662f\u6682\u65f6\u6027\u7f51\u7edc\u9519\u8bef\uff0c\u4e0d\u4f1a\u4ece https:\/\/github.com\/ip7z\/7zip\/releases\/download\/26.00\/7z2600.exe \u91cd\u8bd5\u4e0b\u8f7d CadTools C:\\work\\development\\CadTools\\EXEC 1\n\n\u9519\u8bef MSB3073 \u547d\u4ee4\u201c&quot;C:\\Program Files\\Microsoft Visual Studio\\18\\Community\\VC\\vcpkg\\vcpkg.exe&quot; install  --x-wait-for-lock --triplet &quot;x64-windows-static-md&quot; --vcpkg-root &quot;C:\\Program Files\\Microsoft Visual Studio\\18\\Community\\VC\\vcpkg\\\\&quot; &quot;--x-manifest-root=C:\\work\\development\\CadTools\\\\&quot; &quot;--x-install-root=C:\\work\\development\\CadTools\\vcpkg_installed\\x64-windows-static-md\\\\&quot; \u201d\u5df2\u9000\u51fa\uff0c\u4ee3\u7801\u4e3a 1\u3002 CadTools C:\\Program Files\\Microsoft Visual Studio\\18\\Community\\VC\\vcpkg\\scripts\\buildsystems\\msbuild\\vcpkg.targets 183<\/code><\/pre>\n<p>\u624b\u52a8\u6267\u884c vcpkg \u62a5\u9519<\/p>\n<pre><code class=\"language-bash\">C:\\Users\\ZhaoHongfei\\Desktop&gt;&quot;C:\\Program Files\\Microsoft Visual Studio\\18\\Community\\VC\\vcpkg\\vcpkg.exe&quot; install  --x-wait-for-lock --triplet &quot;x64-windows-static-md&quot; --vcpkg-root &quot;C:\\Program Files\\Microsoft Visual Studio\\18\\Community\\VC\\vcpkg\\\\&quot; &quot;--x-manifest-root=C:\\work\\development\\CadTools\\\\&quot; &quot;--x-install-root=C:\\work\\development\\CadTools\\vcpkg_installed\\x64-windows-static-md\\\\&quot;\nA suitable version of cmake was not found (required v3.31.10).\nExtracting cmake...\nA suitable version of 7zip was not found (required v26.0.0).\nDownloading https:\/\/github.com\/ip7z\/7zip\/releases\/download\/26.00\/7z2600.exe -&gt; 7z2600.7z.exe\nerror: curl operation failed with error code 35 (SSL connect error).\nerror: Not a transient network error, won&#039;t retry download from https:\/\/github.com\/ip7z\/7zip\/releases\/download\/26.00\/7z2600.exe\nnote: If you are using a proxy, please ensure your proxy settings are correct.\nPossible causes are:\n1. You are actually using an HTTP proxy, but setting HTTPS_PROXY variable to `https:\/\/address:port`.\nThis is not correct, because `https:\/\/` prefix claims the proxy is an HTTPS proxy, while your proxy (v2ray, shadowsocksr, etc...) is an HTTP proxy.\nTry setting `http:\/\/address:port` to both HTTP_PROXY and HTTPS_PROXY instead.\n2. If you are using Windows, vcpkg will automatically use your Windows IE Proxy Settings set by your proxy software. See: https:\/\/github.com\/microsoft\/vcpkg-tool\/pull\/77\nThe value set by your proxy might be wrong, or have same `https:\/\/` prefix issue.\n3. Your proxy&#039;s remote server is out of service.\nIf you believe this is not a temporary download server failure and vcpkg needs to be changed to download this file from a different location, please submit an issue to https:\/\/github.com\/Microsoft\/vcpkg\/issues\n\nC:\\Users\\ZhaoHongfei\\Desktop&gt;<\/code><\/pre>\n<p>\u76ee\u524d\u63a8\u65ad\u95ee\u9898\u6765\u6e90\u4e8e\u8c03\u7528\u7684 curl<br \/>\n\u6267\u884c\u4e0b\u9762\u547d\u4ee4\u5931\u8d25<\/p>\n<pre><code class=\"language-bash\">curl -I -v https:\/\/github.com\/ip7z\/7zip\/releases\/download\/26.00\/7z2600.exe<\/code><\/pre>\n<p>\u4f1a\u63d0\u793a\u9519\u8bef<\/p>\n<pre><code class=\"language-bash\">* schannel: next InitializeSecurityContext failed: CRYPT_E_REVOCATION_OFFLINE (0x80092013) - \u7531\u4e8e\u540a\u9500\u670d\u52a1\u5668\u5df2\u8131\u673a\uff0c\u540a\u9500\u529f\u80fd\u65e0\u6cd5\u68c0\u67e5\u540a\u9500\u3002\n\n* closing connection #0\n\ncurl: (35) schannel: next InitializeSecurityContext failed: CRYPT_E_REVOCATION_OFFLINE (0x80092013) - \u7531\u4e8e\u540a\u9500\u670d\u52a1\u5668\u5df2\u8131\u673a\uff0c\u540a\u9500\u529f\u80fd\u65e0\u6cd5\u68c0\u67e5\u540a\u9500\u3002<\/code><\/pre>\n<p>\u7ee7\u7eed\u9a8c\u8bc1<br \/>\n\u4f7f\u7528\u53c2\u6570\u7981\u7528\u68c0\u67e5\u540a\u9500\u670d\u52a1\u5668\u4e4b\u540e\uff0c\u53ef\u4ee5\u6210\u529f\u8bbf\u95ee<\/p>\n<pre><code class=\"language-bash\">curl --ssl-no-revoke -I -v https:\/\/github.com\/ip7z\/7zip\/releases\/download\/26.00\/7z2600.exe<\/code><\/pre>\n<p>\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u7684\u601d\u8def\u6709\uff1a<br \/>\n1.\u8bbf\u95ee\u540a\u9500\u670d\u52a1\u5668\u662f\u4e0d\u662f\u6ca1\u6709\u8d70\u4ee3\u7406\uff0c\u6240\u4ee5\u5931\u8d25\u4e86\u3002vcpkg \u53ef\u80fd\u662f\u4f7f\u7528\u5185\u7f6e\u7684 curl\uff0c\u8fd9\u4e2a\u4e0d\u77e5\u9053\u600e\u4e48\u5f3a\u5236\u5b83\u8d70\u4ee3\u7406\uff0c\u8bd5\u8fc7\u52a0\u5404\u79cd\u53c2\u6570\u90fd\u65e0\u6548\u3002<br \/>\n2.\u8bbf\u95ee\u540a\u9500\u670d\u52a1\u5668\u7684\u8fdb\u7a0b\u662f\u4e0d\u662f\u88ab\u62e6\u622a\u4e86\u3002\u6211\u540e\u9762\u628a\u706b\u7ed2\u8054\u7f51\u63a7\u5236\u4e2d\u7684\u6240\u6709\u4f4d\u4e8e <strong>C:\\Windows\\System32<\/strong> \u4e2d\u88ab\u8bbe\u7f6e\u4e3a\u963b\u6b62\u8054\u7f51\u7684\u8fdb\u7a0b\u90fd\u653e\u884c\u4e86\u3002<br \/>\n3.\u60f3\u529e\u6cd5\u8ba9 vcpkg \u5185\u90e8\u7684 curl \u4e5f\u7981\u6b62\u68c0\u67e5\u540a\u9500\u670d\u52a1\u5668\u3002\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u6253\u5f00 PowerShell \u6267\u884c<\/p>\n<pre><code class=\"language-bash\">reg add &quot;HKLM\\SYSTEM\\CurrentControlSet\\Control\\SecurityProviders\\SCHANNEL&quot; \/v &quot;ClientCertificateRevocationCheck&quot; \/t REG_DWORD \/d 0 \/f<\/code><\/pre>\n<p>\u5728\u6211\u5c1d\u8bd5 2 \u548c 3 \u7684\u65b9\u6cd5\u540e\uff0c\u6ca1\u6709\u5f53\u573a\u751f\u6548\uff0c\u540e\u9762\u8fc7\u4e86\u51e0\u5341\u5206\u949f\u7a81\u7136\u5c31\u597d\u4e86\u3002\u6240\u4ee5\u6211\u4e5f\u4e0d\u77e5\u9053\u5230\u5e95\u54ea\u4e00\u6b65\u751f\u6548\u4e86\uff0c\u6709\u53ef\u80fd\u4e0d\u662f\u6211\u8fd9\u91cc\u7684\u4fee\u6539\u89e3\u51b3\u4e86\u95ee\u9898\uff0c\u4e5f\u53ef\u80fd\u662f\u6211\u8fd9\u91cc\u7684\u4fee\u6539\u540e\u5f53\u65f6\u670d\u52a1\u6ca1\u6709\u91cd\u542f\uff0c\u6240\u4ee5\u6ede\u540e\u6062\u590d\u7684\u3002\u8fd9\u4e2a\u95ee\u9898\u4ece\u6628\u5929\u665a\u4e0a\u5c31\u53d1\u73b0\uff0c\u4eca\u5929\u4e2d\u5348\u5348\u4f11\u90fd\u6ca1\u4f11\u606f\uff0c\u6298\u817e\u4e86\u6211\u4e00\u4e2a\u534a\u5c0f\u65f6\uff0c\u6ca1\u6709\u4efb\u4f55\u7ed3\u679c\u3002\u4e0b\u73ed\u4e86\u665a\u4e0a\u53c8\u7ee7\u7eed\u6298\u817e\uff0c\u76ee\u524d\u81f3\u5c11\u6062\u590d\u4e86\u3002\u8fd9\u91cc\u5c31\u505a\u4e2a\u8bb0\u5f55\uff0c\u7ed9\u5176\u4ed6\u9047\u5230\u8fd9\u4e2a\u95ee\u9898\u7684\u4eba\u4e00\u79cd\u89e3\u51b3\u601d\u8def\uff0c\u4e5f\u7ed9\u81ea\u5df1\u7559\u4e00\u4e2a\u5907\u4efd\u8bb0\u5f55\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Windows 11 25H2 Visual Studio Community 2026 vcpkg 2026 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"zakra_page_container_layout":"customizer","zakra_page_sidebar_layout":"customizer","zakra_remove_content_margin":false,"zakra_sidebar":"customizer","zakra_transparent_header":"customizer","zakra_logo":0,"zakra_main_header_style":"default","zakra_menu_item_color":"","zakra_menu_item_hover_color":null,"zakra_menu_item_active_color":null,"zakra_menu_active_style":"","zakra_page_header":true,"_lmt_disableupdate":"no","_lmt_disable":"no","footnotes":""},"categories":[1,589,580],"tags":[2152,2153,2150,1904,2154],"class_list":["post-24714","post","type-post","status-publish","format-standard","hentry","category-all","category-c-c","category-580","tag-curl","tag-proxy","tag-vcpkg","tag-1904","tag-2154"],"modified_by":"IYATT-yx","_links":{"self":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts\/24714","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=24714"}],"version-history":[{"count":7,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts\/24714\/revisions"}],"predecessor-version":[{"id":24723,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts\/24714\/revisions\/24723"}],"wp:attachment":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=24714"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=24714"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=24714"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}