質問編集履歴

1

タイトルを.NET6から、より具体的なASP.NET BlazorServerに修正しました。

2023/01/27 13:04

投稿

kentaro_inoue
kentaro_inoue

スコア45

test CHANGED
@@ -1 +1 @@
1
- .NET6+Nginxで証明書更新したら.NET起動時にエラーで立ち上がらなくなった
1
+ ASP.NET BlazorServer+Nginxで証明書更新したら.NET起動時にエラーで立ち上がらなくなった
test CHANGED
@@ -9,7 +9,7 @@
9
9
  些細な情報、誤情報でも構いません。
10
10
  ### 発生している問題・エラーメッセージ
11
11
 
12
- journalctl -t -u app.serviceで起動ログを確認したところ以下のエラーが発生していました。
12
+ .NETのアプリ起動ログを確認したところ以下のエラーが発生していました。
13
13
  ```
14
14
  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.
15
15
  To generate a developer certificate run 'dotnet dev-certs https'. To trust the certificate (Windows and macOS only) run 'dotnet dev-certs https --trust'.