首页 > 编程语言 >crit: Microsoft.AspNetCore.Server.Kestrel[0] Unable to start Kestrel. Interop+Crypto+OpenSslCr

crit: Microsoft.AspNetCore.Server.Kestrel[0] Unable to start Kestrel. Interop+Crypto+OpenSslCr

时间:2024-10-11 14:20:57浏览次数:3  
标签:String start Interop AspNetCore Server Kestrel password Microsoft

域名证书没有放在指定的位置 错误信息

crit: Microsoft.AspNetCore.Server.Kestrel[0]
      Unable to start Kestrel.
Interop+Crypto+OpenSslCryptographicException: error:2006D080:BIO routines:BIO_new_file:no such file
   at Interop.Crypto.CheckValidOpenSslHandle(SafeHandle handle)
   at Internal.Cryptography.Pal.OpenSslX509CertificateReader.FromFile(String fileName, SafePasswordHandle password, X509KeyStorageFlags keyStorageFlags)
   at System.Security.Cryptography.X509Certificates.X509Certificate..ctor(String fileName, String password, X509KeyStorageFlags keyStorageFlags)
   at System.Security.Cryptography.X509Certificates.X509Certificate2..ctor(String fileName, String password)
   at Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader.LoadCertificate(CertificateConfig certInfo, String endpointName)
   at Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader.Load()
   at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer.ValidateOptions()
   at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer.StartAsync[TContext](IHttpApplication`1 application, CancellationToken cancellationToken)
Unhandled exception. Interop+Crypto+OpenSslCryptographicException: error:2006D080:BIO routines:BIO_new_file:no such file
   at Interop.Crypto.CheckValidOpenSslHandle(SafeHandle handle)
   at Internal.Cryptography.Pal.OpenSslX509CertificateReader.FromFile(String fileName, SafePasswordHandle password, X509KeyStorageFlags keyStorageFlags)
   at System.Security.Cryptography.X509Certificates.X509Certificate..ctor(String fileName, String password, X509KeyStorageFlags keyStorageFlags)
   at System.Security.Cryptography.X509Certificates.X509Certificate2..ctor(String fileName, String password)
   at Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader.LoadCertificate(CertificateConfig certInfo, String endpointName)
   at Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader.Load()
   at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer.ValidateOptions()
   at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer.StartAsync[TContext](IHttpApplication`1 application, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
   at top.libeilin.orange.Program.Main(String[] args) in D:\xx\xx\xx\Program.cs:line 17
Aborted

标签:String,start,Interop,AspNetCore,Server,Kestrel,password,Microsoft
From: https://blog.51cto.com/zicl/12218215

相关文章

  • Win11系统提示找不到StartUI.dll文件的解决办法
    其实很多用户玩单机游戏或者安装软件的时候就出现过这种问题,如果是新手第一时间会认为是软件或游戏出错了,其实并不是这样,其主要原因就是你电脑系统的该dll文件丢失了或没有安装一些系统软件平台所需要的动态链接库,这时你可以下载这个StartUI.dll文件(挑选合适的版本文件)把它放......
  • Nuxt.js 应用中的 page:start 钩子详解
    title:Nuxt.js应用中的page:start钩子详解date:2024/10/8updated:2024/10/8author:cmdragonexcerpt:page:start是一个关键的钩子,可以在页面加载时执行必要的逻辑,以提升用户体验。通过合理地使用这个钩子,可以创建流畅的页面导航体验,并提供用户反馈。categories:......
  • Idea启动SpringBoot程序报错:Veb server failed to start. Port 8082 was already in u
    目录Idea启动SpringBoot程序报错:Vebserverfailedtostart.Port8082wasalreadyinuse一、解决办法1、查找占用端口的进程2、结束进程①在任务管理器中终结指定pid的进程②在命令提示符中结束进程 3、重新启动项目4、对于macOS和Linux系统二、博主亲历三、为......
  • StarTowerChain:数字共享生态的引领者,共创美好未来
    在数字时代,共享经济已经成为一种趋势。StarTowerChain以其强大的共享经济模式,打造了一个全新的数字共享生态。在StarTowerChain的平台上,用户可以轻松地共享自己的资源,包括计算资源、存储空间、数据等。这种共享不仅可以提高资源的利用率,还可以为用户带来额外的收益。共享经......
  • WPF Calendar DisplayMode SelectionMode FirstDayOfWeek Start End BlackoutDates
    //xaml<Windowx:Class="WpfApp427.MainWindow"xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"xmlns:d="http://schemas.mi......
  • Error starting ApplicationContext. To display the conditions report re-run your
    问题原因:通过springboot的启动类来启动springboot项目时,报错。但是通过mavenpackeage打包后,再启动没有问题。org.springframework.beans.factory.UnsatisfiedDependencyException:Errorcreatingbeanwithname'applicationRunnerImpl':Unsatisfieddependencyexpressedth......
  • 基于Django的景点预约管理系统,前端使用bootstart框架开发,包括用户和管理员两种角色
    研究背景随着旅游业的快速发展和数字化技术的进步,景区预约系统的需求日益增长。传统的现场购票模式在高峰期常常面临人流量过大、排队时间长等问题,不仅影响游客的游览体验,还对景区的管理造成一定挑战。尤其是在疫情后,人们更加重视避免聚集,景区需要合理控制人流,采用在线预约系......
  • 线程的run()和start()有什么区别?
    run()方法:run()方法是Thread类的一个普通方法,用于定义线程的主体逻辑。当直接调用run()方法时,该方法会在当前线程的上下文中执行,而不会创建新的线程。直接调用run()方法,不会实现多线程的并发执行,而只是在当前线程中按照顺序执行run()方法的内容。publicclassMyRunn......
  • Spring--boot自动配置原理案例--阿里云--starter
    Spring–boot自动配置原理案例–阿里云–starter定义这个starter的作用是它可以将阿里云的工具类自动放入IOC容器中,供人使用。我们看一看构建starter的过程,其实就是在atuoconfigure模块中加入工具类,然后写一个配置类在其中将工具类放入IOC容器,之后在starter中引入atuoconf......
  • ERROR:start workflow error,dolphinscheduler log重复刷屏(死循环)直至磁盘存满
    在使用ds过后发现,我虚拟机中的磁盘内存全部沾满了查看目录下大于100M的文件:find/-size+100M查看后发现问题在于ds产生的日志文件特别大而且多,查看日志后发现日志中一直都在死循环错误:startworkflowerror 等其中文件下的目录可以直接全部删除:cd /opt/install......