Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
Path.Combine(
hostBuilder.Environment.ContentRootPath,
hostBuilder.Configuration.GetValue<string>("Certificate:File")!),
password: null,
keyStorageFlags: X509KeyStorageFlags.Exportable));
password: null));

// Bind the server options to the "appsettings.json" configuration "Server" section, and add a Configure
// callback to configure its authentication options.
Expand Down
3 changes: 1 addition & 2 deletions src/IceRpc.Templates/Templates/IceRpc-Ice-Server/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@

using X509Certificate2 serverCertificate = X509CertificateLoader.LoadPkcs12FromFile(
"certs/server.p12",
password: null,
keyStorageFlags: X509KeyStorageFlags.Exportable);
password: null);

// Create a server that uses the ice protocol for compatibility with ZeroC Ice, and logs messages to a
// logger with category `IceRpc.Server`. The default port for the ice protocol is 4061.
Expand Down