Skip to content

Commit

Permalink
Fix certificate chaining
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Johnston committed Oct 11, 2023
1 parent 796cbf8 commit 4d55c47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cicd/PS-Get-Certificate-2022.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ param(

$ErrorActionPreference = "Stop"

Get-AzKeyVaultSecret -VaultName "joeljcakeys" -Name "joeljca-2022-crt" -AsPlainText | Out-File -Path $RepoRootPath/tmp/joeljca-2022.crt
Get-AzKeyVaultSecret -VaultName "joeljcakeys" -Name "joeljca-2022-chained-crt" -AsPlainText | Out-File -Path $RepoRootPath/tmp/joeljca-2022.crt
Get-AzKeyVaultSecret -VaultName "joeljcakeys" -Name "joeljca-2022-rsa" -AsPlainText | Out-File -Path $RepoRootPath/tmp/joeljca-2022.rsa
2 changes: 1 addition & 1 deletion cicd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ We need to to some CLI nastiness in order to import multiple lines.

`PS C:\Users\colte\OneDrive\Desktop> $SecureSecret = ConvertTo-SecureString -String $RawSecret -AsPlainText -Force`

`PS C:\Users\colte\OneDrive\Desktop> $secret = Set-AzKeyVaultSecret -VaultName "joeljcakeys" -Name "joeljca-2022-crt" -SecretValue $SecureSecret`
`PS C:\Users\colte\OneDrive\Desktop> $secret = Set-AzKeyVaultSecret -VaultName "joeljcakeys" -Name "joeljca-2022-chained-crt" -SecretValue $SecureSecret`

`PS C:\Users\colte\OneDrive\Desktop> $RawSecret = Get-Content "key.rsa" -Raw`

Expand Down

0 comments on commit 4d55c47

Please sign in to comment.