Skip to content

Commit

Permalink
GithubCI: fix dev HTTPS certificate generation
Browse files Browse the repository at this point in the history
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
  • Loading branch information
webwarrior-ws committed Nov 25, 2024
1 parent 21fe71e commit aa4f527
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
# Trust ASP.NET Core HTTPS development certificate so that GRPC server can be contacted through HTTPS.
# HTTPS connection is used in end-to-end GRPC tests.
dotnet dev-certs https
sudo -E dotnet dev-certs https --export-path /usr/local/share/ca-certificates/aspnet/https.crt --format PEM
sudo -E dotnet dev-certs https --trust --format PEM
sudo update-ca-certificates
- name: Restore nuget dependencies
Expand Down

0 comments on commit aa4f527

Please sign in to comment.