Skip to content

Commit

Permalink
Move X509Certificate2 module to eng/common
Browse files Browse the repository at this point in the history
  • Loading branch information
benbp committed Jul 24, 2023
1 parent 667fdaa commit 3a86f8b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 341 deletions.
339 changes: 0 additions & 339 deletions eng/scripts/X509Certificate2/X509Certificate2.psm1

This file was deleted.

2 changes: 1 addition & 1 deletion sdk/confidentialledger/test-resources-pre.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Import-Module -Name ./eng/scripts/X509Certificate2 -Verbose
Import-Module -Name ./eng/common/scripts/X509Certificate2 -Verbose

$cert = New-X509Certificate2 -SubjectName '[email protected], CN=Azure SDK, OU=Azure SDK, O=Microsoft, L=Frisco, S=TX, C=US' -ValidDays 365

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Azure.Security.KeyVault.Certificates.Tests
public partial class CertificateClientLiveTests
{
/* pwsh
Import-Module -Name eng/scripts/X509Certificate2.psm1 # assumes $PWD is repo root
Import-Module -Name eng/common/scripts/X509Certificate2 # assumes $PWD is repo root
$cert1 = New-X509Certificate2 -SubjectName '[email protected], CN=Azure SDK, OU=Azure SDK, O=Microsoft, L=Redmond, S=WA, C=US' -ValidDays 3652
$CaPublicKeyBase64 = $cert1 | Format-X509Certificate2 -Type CertificateBase64
Expand Down

0 comments on commit 3a86f8b

Please sign in to comment.