Initialize Browsec architecture and TrustLab
This commit is contained in:
commit
a1e56c1d09
14 files changed
+1500
No files matched your search
@@ -0,0 +1,35 @@
|
||||
export const validPublicCertificate = {
|
||||
connectionId: "connection-valid-public",
|
||||
hostname: "example.test",
|
||||
port: 443,
|
||||
validation: "success",
|
||||
errors: [],
|
||||
presentedChain: [
|
||||
{ subject: "CN=example.test", sha256: "leaf-valid-public" },
|
||||
{ subject: "CN=Example Intermediate", sha256: "intermediate-public" },
|
||||
],
|
||||
constructedChain: [
|
||||
{ subject: "CN=example.test", sha256: "leaf-valid-public" },
|
||||
{ subject: "CN=Example Intermediate", sha256: "intermediate-public" },
|
||||
{ subject: "CN=Example Root", sha256: "root-public" },
|
||||
],
|
||||
tls: { version: "TLSv1.3", alpn: "h2" },
|
||||
};
|
||||
|
||||
export const unknownLocalAuthority = {
|
||||
connectionId: "connection-unknown-local",
|
||||
hostname: "library.village",
|
||||
port: 443,
|
||||
validation: "failure",
|
||||
errors: ["unknown-issuer"],
|
||||
presentedChain: [
|
||||
{ subject: "CN=library.village", sha256: "leaf-village-library" },
|
||||
{ subject: "CN=Village Services CA", sha256: "ca-village-services" },
|
||||
],
|
||||
constructedChain: [
|
||||
{ subject: "CN=library.village", sha256: "leaf-village-library" },
|
||||
{ subject: "CN=Village Services CA", sha256: "ca-village-services" },
|
||||
],
|
||||
tls: { version: "TLSv1.3", alpn: "h2" },
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user