{"id":835,"date":"2023-04-20T12:15:54","date_gmt":"2023-04-20T12:15:54","guid":{"rendered":"https:\/\/turtleflyblog.com\/?p=835"},"modified":"2023-04-20T12:15:56","modified_gmt":"2023-04-20T12:15:56","slug":"unable-to-configure-https-endpoint-no-server-certificate-was-specified-and-the-default-developer-certificate-could-not-be-found-2","status":"publish","type":"post","link":"https:\/\/turtleflyblog.com\/en\/2023\/04\/20\/unable-to-configure-https-endpoint-no-server-certificate-was-specified-and-the-default-developer-certificate-could-not-be-found-2\/","title":{"rendered":"Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found"},"content":{"rendered":"\n
This is because .NET Core pre-set to using HTTPS protocol. If the certificate is not installed, this error will be reported. To resolve this issue, execute the following dotnet command.<\/p>\n\n\n\n
dotnet dev-certs https \u2013trust<\/p>\n\n\n\n When executing the dotnet command shown above, you might encounter the following error<\/p>\n\n\n\n The current version of .Net I used in Visual Studio is 6 preview. However, there are two 6.0 preview folders in the sdk directory, which may cause an error when running the command dotnet dev-certs https –trust. To resolve this issue, delete one of the folders and then we can run the command again to install the certificate successfully.<\/p>\n\n\n\n Now you can run the dotnet project successfully<\/p>\n\n\n\n This is because .NET Core pre-set to using HTTPS protocol. If the certificate is not installed, this error will be reported. To resolve this issue, execute the following dotnet command. dotnet dev-certs https \u2013trust When executing the dotnet command shown above, you might encounter the following error The current version of .Net I used in […]<\/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":[33],"tags":[],"class_list":["post-835","post","type-post","status-publish","format-standard","hentry","category-programming-2"],"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":"