{"id":58,"date":"2020-02-11T15:58:51","date_gmt":"2020-02-11T07:58:51","guid":{"rendered":"https:\/\/www.isunding.com\/?p=58"},"modified":"2020-02-11T15:58:52","modified_gmt":"2020-02-11T07:58:52","slug":"sql-server-tdssniclient-%e5%88%9d%e5%a7%8b%e5%8c%96%e5%a4%b1%e8%b4%a5","status":"publish","type":"post","link":"https:\/\/www.isunding.com\/?p=58","title":{"rendered":"SQL Server TDSSNIClient \u521d\u59cb\u5316\u5931\u8d25"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u73b0\u8c61\uff1aSQL Server \u670d\u52a1\u65e0\u6cd5\u542f\u52a8\uff0c\u67e5\u770b\u4e8b\u4ef6\u65e5\u5fd7\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">TDSSNIClient \u521d\u59cb\u5316\u5931\u8d25\uff0c\u51fa\u73b0\u9519\u8bef 0x80092004\uff0c\u72b6\u6001\u4ee3\u7801 0x80\u3002\u539f\u56e0: Unable to initialize SSL support. Cannot find object or property.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u627e\u4e0d\u5230\u8bc1\u4e66 \u201c*********************\u201d\uff0c \u8bf7\u53c2\u9605\u8054\u673a\u4e1b\u4e66\u4e2d\u7684\u201c<em>\u914d\u7f6e\u8bc1\u4e66\u4ee5\u4f9bSSL\u4f7f\u7528<\/em>\u201d\u3002 <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">TDSSNIClient \u521d\u59cb\u5316\u5931\u8d25\uff0c\u51fa\u73b0\u9519\u8bef 0x80092004\uff0c\u72b6\u6001\u4ee3\u7801 0x1\u3002\u539f\u56e0: Initialization failed with an infrastructure error. Check for previous errors. Cannot find object or property.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u7531\u4e8e\u7f51\u7edc\u5e93\u4e2d\u5b58\u5728\u5185\u90e8\u9519\u8bef\uff0c\u6240\u4ee5\u65e0\u6cd5\u542f\u52a8\u7f51\u7edc\u5e93\u3002\u8981\u786e\u5b9a\u539f\u56e0\uff0c\u8bf7\u67e5\u770b\u9519\u8bef\u65e5\u5fd7\u4e2d\u7d27\u4f4d\u4e8e\u6b64\u9519\u8bef\u4e4b\u524d\u7684\u90a3\u4e9b\u9519\u8bef\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u00a0SQL Server \u65e0\u6cd5\u751f\u6210 FRunCommunicationsManager \u7ebf\u7a0b\u3002\u8bf7\u67e5\u770b SQL Server \u9519\u8bef\u65e5\u5fd7\u548c Windows \u4e8b\u4ef6\u65e5\u5fd7\uff0c\u83b7\u53d6\u6709\u5173\u53ef\u80fd\u53d1\u751f\u7684\u76f8\u5173\u95ee\u9898\u7684\u4fe1\u606f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u89e3\u51b3\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"> HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Microsoft SQL Server\\****(SQL\u670d\u52a1\u540d\u79f0) \\MSSQLServer\\SuperSocketNetLib\\<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5220\u9664 Certificate \u952e\u503c\uff0c\u91cd\u65b0\u542f\u52a8\u670d\u52a1 SQL  Server <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u539f\u7406\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6211\u4eec\u5148\u6765\u4e86\u89e3\u4e0bSQL Server\u88c5\u8f7d\u8bc1\u4e66\u7684\u6b65\u9aa4\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SQL Server&nbsp;\u641c\u7d22HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Microsoft SQL Server\\MSSQL.1\\MSSQLServer\\SuperSocketNetLib\\Certificate\u3002\u901a\u8fc7Certificate\u952e\u503c\u4e2d\u8bb0\u5f55\u7684\u8bc1\u4e66\u7684thumbprint\u6765\u5230certificate store\u4e2d\u5bfb\u627e\u76f8\u5e94\u7684\u8bc1\u4e66\u3002\u5982\u679c\u627e\u4e0d\u5230\u8be5\u8bc1\u4e66\uff0c\u5219SQL Server\u542f\u52a8\u5931\u8d25\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">2.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\u5982\u679cCertificate\u952e\u503c\u4e3a\u7a7a\uff0c\u5219SQL Server\u5230certificate store\u4e2d\u53bb\u5bfb\u627esubject CN\u4e0eSQL Server\u670d\u52a1\u5668\u4e3b\u673a\u7684FQDN\u76f8\u540c\u7684\u8bc1\u4e66\u3002\u5982\u679c\u6709\u8fd9\u6837\u7684\u8bc1\u4e66\u5b58\u5728\uff0cSQL Server\u5c31\u8bfb\u53d6\u7b2c\u4e00\u4e2a\u5b83\u627e\u5230\u7684\u8bc1\u4e66\uff0c\u88c5\u8f7d\u5e76\u542f\u52a8\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">3.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\u5982\u679c\u8fd8\u662f\u627e\u4e0d\u5230\u8bc1\u4e66\uff0c\u5219SQL Server\u5c31\u81ea\u52a8\u751f\u6210\u4e00\u4e2a\u8bc1\u4e66\u5e76\u4f7f\u7528\u8fd9\u4e2a\u8bc1\u4e66\u542f\u52a8\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6709\u4eba\u53ef\u80fd\u662f\u901a\u8fc7SQL Server configuration manager\u6765\u9009\u62e9\u8bc1\u4e66\u5e76\u5c06\u5b83\u914d\u7f6e\u7ed9SQL Server\u7684\u3002\u5176\u5b9eSQL Server configuration manager\u4e5f\u662f\u901a\u8fc7\u5199Certificate\u952e\u503c\u6765\u8fbe\u5230\u914d\u7f6e\u8bc1\u4e66\u7684\u76ee\u7684\u3002\u53e6\u5916\u8981\u6ce8\u610f\u7684\u662fSQL Server configuration manager\u4e2d\u7684\u4e0b\u62c9\u5217\u8868\u53ea\u80fd\u663e\u793a\u90a3\u4e9bsubject CN\u4e0eSQL Server\u670d\u52a1\u5668\u4e3b\u673a\u7684FQDN\u76f8\u540c\u7684\u8bc1\u4e66\u3002\u56e0\u6b64\u5982\u679c\u4f60\u9700\u8981\u914d\u7f6e\u4e00\u4e2aCN\u4e0eSQL Server\u670d\u52a1\u5668\u4e3b\u673a\u7684FQDN\u4e0d\u540c\u7684\u8bc1\u4e66\u7684\u8bdd\uff08\u9664\u975e\u662fcluster\u73af\u5883\uff0c\u5426\u5219\u4e0d\u63a8\u8350\u8fd9\u6837\u505a\uff0c\u53ef\u80fd\u5bfc\u81f4\u5ba2\u6237\u7aef\u8fde\u63a5\u95ee\u9898\uff09\uff0c\u5c31\u9700\u8981\u4f7f\u7528\u624b\u52a8\u4fee\u6539Certificate\u952e\u503c\u7684\u65b9\u6cd5\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5176\u6b21\uff0c\u5982\u679c\u4e0d\u6307\u5b9aCertificate\u952e\u503c\u7684\u8bdd\uff0c\u5219SQL Server\u81ea\u52a8\u641c\u7d22Certificate store\u4e2d\u7b26\u5408\u8981\u6c42\u7684\u8bc1\u4e66\u3002\u6b64\u65f6\u5982\u679c\u5b58\u5728\u591a\u4e2a\u8bc1\u4e66\u7684\u8bdd\uff0c\u6211\u4eec\u662f\u65e0\u6cd5\u63a7\u5236SQL Server\u9009\u62e9\u54ea\u4e2a\u8bc1\u4e66\u7684\u3002\u7406\u8bba\u4e0aSQL Server\u4f7f\u7528\u5b83\u627e\u5230\u7684\u201c\u7b2c\u4e00\u4e2a\u201d\u8bc1\u4e66\uff0c\u4f46\u662f\u6211\u4eec\u4e0d\u80fd\u786e\u5b9a\u7b2c\u4e00\u4e2a\u8bc1\u4e66\u662f\u54ea\u4e2a\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u57fa\u4e8e\u4e0a\u8ff0\u7684\u8003\u8651\uff0c\u4e3a\u4e86\u786e\u5b9aSQL Server\u4f7f\u7528\u6211\u4eec\u60f3\u8981\u7684\u8bc1\u4e66\uff0c\u6211\u4eec\u63a8\u8350\u6c38\u8fdc\u4f7f\u7528\u7f16\u8f91Certificate\u6ce8\u518c\u8868\u952e\u503c\u7684\u65b9\u5f0f\u6765\u914d\u7f6e\u8bc1\u4e66\u3002\u5177\u4f53\u7684\u914d\u7f6e\u65b9\u5f0f\u662f\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\u5728Certificate\u4e2d\u6253\u5f00\u8981\u4f7f\u7528\u7684\u8bc1\u4e66\uff0c\u590d\u5236\u5176thumbprint\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">2.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\u5982\u679cHKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Microsoft SQL Server\\MSSQL.1\\MSSQLServer\\SuperSocketNetLib\\Certificate\u4e0d\u5b58\u5728\u7684\u8bdd\uff0c\u5c31\u624b\u52a8\u521b\u5efa\u4e00\u4e2a\u3002\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u5bf9\u4e8eSQL Server 2000\u7684\uff0c\u952e\u503c\u7684\u7c7b\u578b\u662fbinary\uff0c\u5bf9\u4e8eSQL Server 2005\u53ca\u4ee5\u540e\u7248\u672c\u7684SQL Server\uff0c\u952e\u503c\u7684\u7c7b\u578b\u662fstring\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u53c2\u8003\u6587\u7ae0\uff1a <a href=\"https:\/\/blog.csdn.net\/kufeiyun\/article\/details\/15337097\">https:\/\/blog.csdn.net\/kufeiyun\/article\/details\/15337097<\/a> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u73b0\u8c61\uff1aSQL Server \u670d\u52a1\u65e0\u6cd5\u542f\u52a8\uff0c\u67e5\u770b\u4e8b\u4ef6\u65e5&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-58","post","type-post","status-publish","format-standard","hentry","category-tips"],"_links":{"self":[{"href":"https:\/\/www.isunding.com\/index.php?rest_route=\/wp\/v2\/posts\/58","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.isunding.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.isunding.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.isunding.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.isunding.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=58"}],"version-history":[{"count":1,"href":"https:\/\/www.isunding.com\/index.php?rest_route=\/wp\/v2\/posts\/58\/revisions"}],"predecessor-version":[{"id":59,"href":"https:\/\/www.isunding.com\/index.php?rest_route=\/wp\/v2\/posts\/58\/revisions\/59"}],"wp:attachment":[{"href":"https:\/\/www.isunding.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=58"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.isunding.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=58"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.isunding.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=58"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}