Skip to content
Open
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
3 changes: 1 addition & 2 deletions code/components/net-tcp-server/src/TLSServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,9 @@ class CredentialManager : public Botan::Credentials_Manager
}
else if (autoGenerate)
{
Botan::X509_Cert_Options options;
Botan::X509_Cert_Options options("", 10 * 365 * 24 * 60 * 60);
options.country = "XX";
options.common_name = "do-not-trust.citizenfx.tls.invalid";
options.not_after("20260101000000Z");

m_key = Botan::create_private_key("RSA", rng, "2048");

Expand Down
Loading