Macos Visual Studio Docker HTTPS安装程序失败

Macos Visual Studio Docker HTTPS安装程序失败,macos,visual-studio,docker,Macos,Visual Studio,Docker,我正在尝试在mac上运行一个新的VisualStudio2019项目 但是,我得到了以下错误 Application startup exception: Autofac.Core.DependencyResolutionException: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activat

我正在尝试在mac上运行一个新的VisualStudio2019项目

但是,我得到了以下错误

Application startup exception: Autofac.Core.DependencyResolutionException: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = KestrelServer (ReflectionActivator), Services = [Microsoft.AspNetCore.Hosting.Server.IServer], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope ---> An exception was thrown while invoking the constructor 'Void .ctor(Microsoft.Extensions.Options.IOptions`1[Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions], Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal.ITransportFactory, Microsoft.Extensions.Logging.ILoggerFactory)' on type 'KestrelServer'. ---> error:2006D080:BIO routines:BIO_new_file:no such file (See inner exception for details.) (See inner exception for details.) ---> Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(Microsoft.Extensions.Options.IOptions`1[Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions], Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal.ITransportFactory, Microsoft.Extensions.Logging.ILoggerFactory)' on type 'KestrelServer'. ---> error:2006D080:BIO routines:BIO_new_file:no such file (See inner exception for details.) ---> Interop+Crypto+OpenSslCryptographicException: error:2006D080:BIO routines:BIO_new_file:no such file
   at Interop.Crypto.CheckValidOpenSslHandle(SafeHandle handle)
   at Internal.Cryptography.Pal.CertificatePal.FromFile(String fileName, SafePasswordHandle password, X509KeyStorageFlags keyStorageFlags)
   at System.Security.Cryptography.X509Certificates.X509Certificate..ctor(String fileName, String password, X509KeyStorageFlags keyStorageFlags)
   at Microsoft.AspNetCore.Hosting.ListenOptionsHttpsExtensions.UseHttps(ListenOptions listenOptions, String fileName, String password)
   at Identity.API.Program.<>c.<BuildWebHost>b__1_3(ListenOptions listenOptions) in /Users/pp/www/amritaDEV/appraisals/Amrita/src/Services/Identity/Identity/Program.cs:line 56
   at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions.Listen(IPEndPoint endPoint, Action`1 configure)
   at Identity.API.Program.<>c.<BuildWebHost>b__1_0(KestrelServerOptions options) in /Users/pp/www/amritaDEV/appraisals/Amrita/src/Services/Identity/Identity/Program.cs:line 54
   at Microsoft.Extensions.Options.OptionsFactory`1.Create(String name)
   at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
   at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
   at System.Lazy`1.CreateValue()
   at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer.CreateServiceContext(IOptions`1 options, ILoggerFactory loggerFactory)
   at lambda_method(Closure , Object[] )
   at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()
   --- End of inner exception stack trace ---
   at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()
   at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)
   --- End of inner exception stack trace ---
   at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator)
   at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.Execute()
   at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)
   at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters)
   at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)
   at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
   at Microsoft.AspNetCore.Hosting.Internal.WebHost.EnsureServer()
   at Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()
crit: Microsoft.AspNetCore.Hosting.Internal.WebHost[6]
      Application startup exception
应用程序启动异常:Autofac.Core.dependencResolutionException:在激活特定注册期间发生错误。有关详细信息,请参见内部异常。注册:Activator=KestrelServer(ReflectionActivator),Services=[Microsoft.AspNetCore.Hosting.Server.IServer],lifety=Autofac.Core.lifety.rootscopelifety,Sharing=Shared,owner=OwnedByLifetimeScope-->调用构造函数“Void.ctor(Microsoft.Extensions.Options.IOptions)”1时引发异常[Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions]、Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal.ITransportFactory、Microsoft.Extensions.Logging.ILoggerFactory)类型为“KestrelServer”。错误:2006D080:BIO例程:BIO_new_文件:无此类文件(有关详细信息,请参阅内部异常)(有关详细信息,请参见内部异常。)-->Autofac.Core.dependencResolutionException:调用构造函数Void.ctor(Microsoft.Extensions.Options.IOptions`1[Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions]时引发异常,Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal.ITransportFactory,Microsoft.Extensions.Logging.ILoggerFactory),在类型“KestrelServer”上-->错误:2006D080:BIO例程:BIO_新文件:无此类文件(有关详细信息,请参阅内部异常)-->Interop+Crypto+OpenSSLCryptography异常:错误:2006D080:BIO例程:BIO_新文件:无此类文件
在Interop.Crypto.CheckValidOpenSslHandle(安全句柄)处
位于Internal.Cryptography.Pal.CertificatePal.FromFile(字符串文件名、安全密码句柄密码、X509keystargeFlags keystargeFlags)
位于System.Security.Cryptography.X509Certificates.X509Certificate..ctor(字符串文件名、字符串密码、x509keystrageflags keystrageflags)
位于Microsoft.AspNetCore.Hosting.ListenOptionsHttpsExtensions.UseHttps(ListenOptions ListenOptions,字符串文件名,字符串密码)
在/Users/pp/www/amritaDEV/evaluations/Amrita/src/Services/Identity/Identity/Identity/Program.cs中的Identity.API.Program.c.b__1_3(ListenOptions ListenOptions)中:第56行
位于Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions.Listen(IPEndPoint端点,操作'1配置)
在/Users/pp/www/amritaDEV/evaluments/Amrita/src/Services/Identity/Identity/Program.c.b_u1_0(KestrelServer选项)中的Identity.API.Program.c(KestrelServer选项):第54行
在Microsoft.Extensions.Options.OptionsFactory`1.Create中创建(字符串名称)
在System.Lazy`1.ViaFactory(LazyThreadSafetyMode模式)
位于System.Lazy`1.ExecutionAndPublication(LazyHelper ExecutionAndPublication,布尔useDefaultConstructor)
在System.Lazy`1.CreateValue()处
位于Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer.CreateServiceContext(IOOptions`1选项,ILoggerFactory loggerFactory)
在lambda_方法(闭包,对象[])
在Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()中
---内部异常堆栈跟踪的结束---
在Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()中
在Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext上下文,IEnumerable`1参数)中
在Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1参数)处
---内部异常堆栈跟踪的结束---
在Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id,Func`1创建者)上
在Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1参数)处
在Autofac.Core.Resolving.InstanceLookup.Execute()处
在Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(iShareInLiFeTimeScope currentOperationScope,IComponentRegistration,IEnumerable`1参数)处
在Autofac.Core.Resolving.ResolveOperation.Execute处(IComponentRegistration注册,IEnumerable`1参数)
位于Autofac.ResolutionExtensions.TryResolveService(IComponentContext上下文、服务服务、IEnumerable`1参数、对象和实例)
在Autofac.ResolutionExtensions.ResolveService(IComponentContext上下文、服务服务、IEnumerable`1参数)处
位于Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider提供程序)
在Microsoft.AspNetCore.Hosting.Internal.WebHost.EnsureServer()上
在Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()上
crit:Microsoft.AspNetCore.Hosting.Internal.WebHost[6]
应用程序启动异常
我一直在做:

我完成了这些步骤,但出现了以下错误。可能是证书、名称或位置的问题


我使用的是Visual Studio 8。Visual Studio 7在本地主机上没有HTTPS问题

您是否能够找出问题所在?是否有此方面的更新?是否能够找出问题所在?是否有此方面的更新?