Skip to content

Commit aa4f527

Browse files
committed
GithubCI: fix dev HTTPS certificate generation
Don't use --export-path option as that path is not correct for Ubuntu 24.04. Add --trust options, as this is now neded and is the recommended way by Microsoft, see [1]. [1] https://learn.microsoft.com/en-us/aspnet/core/tutorials/razor-pages/razor-pages-start?view=aspnetcore-8.0&tabs=visual-studio-code#run-the-app
1 parent 21fe71e commit aa4f527

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
# Trust ASP.NET Core HTTPS development certificate so that GRPC server can be contacted through HTTPS.
4141
# HTTPS connection is used in end-to-end GRPC tests.
4242
dotnet dev-certs https
43-
sudo -E dotnet dev-certs https --export-path /usr/local/share/ca-certificates/aspnet/https.crt --format PEM
43+
sudo -E dotnet dev-certs https --trust --format PEM
4444
sudo update-ca-certificates
4545
4646
- name: Restore nuget dependencies

0 commit comments

Comments
 (0)