Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use SNI certs #7188

Merged
merged 14 commits into from
Jul 9, 2024
2 changes: 1 addition & 1 deletion gen_env.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ $clientIdValue = $(az keyvault secret show --name "LabVaultAppId" --vault-name "
$pfxPath = "LabCert.pfx";
$pemPath = "LabCert.pem";
# get the lab app cert
az keyvault secret download --vault-name "msidlabs" -n "LabVaultAccessCert" --file $pfxPath --encoding base64
az keyvault secret download --vault-name "msidlabs" -n "LabAuth" --file $pfxPath --encoding base64
# convert pfx file to pem
openssl pkcs12 -in $pfxPath -out $pemPath -nodes --passin pass:

Expand Down
5 changes: 4 additions & 1 deletion samples/e2eTestUtils/src/LabClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ export class LabClient {
this.credentials = new ClientCertificateCredential(
tenant,
clientId,
client_cert_path
client_cert_path,
{
sendCertificateChain: true,
}
);
}

Expand Down
Loading