You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
System.InvalidOperationException: Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found or is out of date.
#12
Closed
hexray-newbee opened this issue
Jun 1, 2020
· 1 comment
2020-06-01 05:06:31.115 [Debug]: Target framework: .Net Core 3.1
2020-06-01 05:06:31.137 [Debug]: EnvironmentVariables.MICRO_REGISTRY_ADDRESS:
2020-06-01 05:06:31.137 [Debug]: EnvironmentVariables.GB_NATS_CHANNEL_ADDRESS:
2020-06-01 05:06:31.137 [Debug]: EnvironmentVariables.DEVICE_MANAGEMENT_SERVICE_ADDRESS:
2020-06-01 05:06:31.138 [Debug]: EnvironmentVariables.SYSTEM_CONFIGURATION_SERVICE_ADDRESS:
2020-06-01 05:06:31.138 [Debug]: EnvironmentVariables.GB_SERVICE_LOCAL_IP:
2020-06-01 05:06:31.138 [Debug]: EnvironmentVariables.GB_SERVICE_LOCAL_ID:
2020-06-01 05:06:31.138 [Debug]: EnvironmentVariables.GBServerGrpcPort: 50051
2020-06-01 05:06:31.138 [Debug]: Notes: if EnvironmentVariables have no value, it gets from xml config.
2020-06-01 05:06:31.323 [Debug]: Load assets from xml with local ip&port is 192.168.197.33:5061
2020-06-01 05:06:31.326 [Debug]: 1 GB28181.App.SIPAccount assets loaded from XML record set.
2020-06-01 05:06:31.326 [Debug]: Starting file watch on /app/Config\gb28181.xml.
info: GB28181.Service.GBService[0]
GB28181 Main Service is Running
info: GB28181.Service.GBService[0]
GB28181 MainProc Worker running at: 06/01/2020 05:06:31 +00:00
2020-06-01 05:06:31.358 [Debug]: SIPMessageCore is runing at udp:192.168.197.33:5061
2020-06-01 05:06:31.367 [Debug]: SIPRegistrarCore is running at Udp:192.168.197.33:5061
2020-06-01 05:06:31.373 [Debug]: SIPUDPChannel socket on 0.0.0.0:5061 listening started.
crit: Microsoft.AspNetCore.Server.Kestrel[0]
Unable to start Kestrel.
System.InvalidOperationException: Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found or is out of date.
To generate a developer certificate run 'dotnet dev-certs https'. To trust the certificate (Windows and macOS only) run 'dotnet dev-certs https --trust'.
For more information on configuring HTTPS see https://go.microsoft.com/fwlink/?linkid=848054.
at Microsoft.AspNetCore.Hosting.ListenOptionsHttpsExtensions.UseHttps(ListenOptions listenOptions, Action`1 configureOptions)
at Microsoft.AspNetCore.Hosting.ListenOptionsHttpsExtensions.UseHttps(ListenOptions listenOptions)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.AddressesStrategy.BindAsync(AddressBindContext context)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindAsync(IServerAddressesFeature addresses, KestrelServerOptions serverOptions, ILogger logger, Func`2 createBinding)
at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer.StartAsync[TContext](IHttpApplication`1 application, CancellationToken cancellationToken)
Unhandled exception. System.InvalidOperationException: Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found or is out of date.
To generate a developer certificate run 'dotnet dev-certs https'. To trust the certificate (Windows and macOS only) run 'dotnet dev-certs https --trust'.
For more information on configuring HTTPS see https://go.microsoft.com/fwlink/?linkid=848054.
at GB28181.Service.Program.CurrentDomain_UnhandledException(Object sender, UnhandledExceptionEventArgs e) in /src/GB28181.Server/Program.cs:line 48
The text was updated successfully, but these errors were encountered:
1、check your aspnetcore development environment and your configration of ssh
2、check your error log ,which had also told you.
Unable to configure HTTPS endpoint. No server certificate was specified,andthedefault developer certificate could not be found or isout of date.
To generate a developer certificate run 'dotnet dev-certs https'. To trust the certificate (Windowsand macOS only) run 'dotnet dev-certs https --trust'.
For more information on configuring HTTPS see https://go.microsoft.com/fwlink/?linkid=848054.
docker build -t gbs . docker run gbs
The text was updated successfully, but these errors were encountered: