-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: incorrect validation if all required certificates for C# client …
…does exists when using generated ones from the server
- Loading branch information
tpz
committed
Dec 7, 2023
1 parent
b42a0c4
commit 0f4f491
Showing
2 changed files
with
6 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
namespace EvitaDB.Client.Utils; | ||
|
||
public class CertificateUtils | ||
internal static class CertificateUtils | ||
{ | ||
private const string GeneratedCertificateExtension = ".crt"; | ||
private const string GeneratedCertificateKeyExtension = ".key"; | ||
public const string GeneratedRootCaCertificateFileName = $"evitaDB-CA-selfSigned{GeneratedCertificateExtension}"; | ||
public const string GeneratedCertificateFileName = $"server{GeneratedCertificateExtension}"; | ||
public const string GeneratedClientCertificateFileName = $"client{GeneratedCertificateExtension}"; | ||
public const string GeneratedClientCertificateKeyFileName = $"client{GeneratedCertificateKeyExtension}"; | ||
} | ||
} |