{"id":824,"date":"2023-04-20T12:13:38","date_gmt":"2023-04-20T12:13:38","guid":{"rendered":"https:\/\/turtleflyblog.com\/?p=824"},"modified":"2023-04-20T12:13:40","modified_gmt":"2023-04-20T12:13:40","slug":"unable-to-configure-https-endpoint-no-server-certificate-was-specified-and-the-default-developer-certificate-could-not-be-found","status":"publish","type":"post","link":"https:\/\/turtleflyblog.com\/zh\/2023\/04\/20\/unable-to-configure-https-endpoint-no-server-certificate-was-specified-and-the-default-developer-certificate-could-not-be-found\/","title":{"rendered":"Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found"},"content":{"rendered":"\n
\u9019\u662f\u56e0\u70ba.net core\u9810\u8a2d\u4f7f\u7528https\u3002\u82e5\u6c92\u6709\u5b89\u88dd\u6191\u8b49\u9019\u500b\u932f\u8aa4\u5c31\u6703\u88ab\u56de\u5831\u3002\u8981\u89e3\u6c7a\u9019\u554f\u984c\uff0c\u5c31\u57f7\u884c\u4ee5\u4e0bdotnet \u6307\u4ee4\u3002<\/p>\n\n\n\n
dotnet dev-certs https \u2013trust<\/p>\n\n\n\n \u4f46\u904b\u884c\u6642\u6709\u53ef\u80fd\u9762\u81e8\u4ee5\u4e0b\u932f\u8aa4<\/p>\n\n\n\n \u76ee\u524d.Net \u5728Visual Studio\u4f7f\u7528\u7248\u672c\u662f 6 preview\u3002\u7136\u800csdk\u76ee\u9304\u593e\u6709\u5169\u500b6.0 preview\u8cc7\u6599\u593e\u3002\u522a\u6389\u5176\u4e2d\u4e00\u500b\u518d\u57f7\u884cdotnet dev-certs https \u2013trust \u5c31\u53ef\u6b63\u5e38\u5b89\u88dd\u6191\u8b49\u3002<\/p>\n\n\n\n \u73fe\u5728\u4f60\u53ef\u4ee5\u6210\u529f\u5730\u904b\u884c dotnet \u5c08\u6848\u4e86<\/p>\n\n\n\n \u9019\u662f\u56e0\u70ba.net core\u9810\u8a2d\u4f7f\u7528https\u3002\u82e5\u6c92\u6709\u5b89\u88dd\u6191\u8b49\u9019\u500b\u932f\u8aa4\u5c31\u6703\u88ab\u56de\u5831\u3002\u8981\u89e3\u6c7a\u9019\u554f\u984c\uff0c\u5c31\u57f7\u884c\u4ee5\u4e0bdotnet \u6307\u4ee4\u3002 dotnet dev-certs https \u2013trust \u4f46\u904b\u884c\u6642\u6709\u53ef\u80fd\u9762\u81e8\u4ee5\u4e0b\u932f\u8aa4 \u76ee\u524d.Net \u5728Visual Studio\u4f7f\u7528\u7248\u672c\u662f 6 preview\u3002\u7136\u800csdk\u76ee\u9304\u593e\u6709\u5169\u500b6.0 preview\u8cc7\u6599\u593e\u3002\u522a\u6389\u5176\u4e2d\u4e00\u500b\u518d\u57f7\u884cdotnet dev-certs https \u2013trust \u5c31\u53ef\u6b63\u5e38\u5b89\u88dd\u6191\u8b49\u3002 \u73fe\u5728\u4f60\u53ef\u4ee5\u6210\u529f\u5730\u904b\u884c dotnet \u5c08\u6848\u4e86<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[38],"tags":[],"class_list":["post-824","post","type-post","status-publish","format-standard","hentry","category-pg"],"yoast_head":"\n<\/figure>\n\n\n\n
<\/figure>\n\n\n\n
<\/figure>\n\n\n\n
<\/figure>\n\n\n\n
<\/figure>\n","protected":false},"excerpt":{"rendered":"