Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save samilamti/e8930b85ba42ecb47ddba15caa8fa79c to your computer and use it in GitHub Desktop.
Save samilamti/e8930b85ba42ecb47ddba15caa8fa79c to your computer and use it in GitHub Desktop.
Creating and renewing your website certificates from Let's Encrypt, snippet 13
Import-AzureKeyVaultCertificate `
-VaultName $VaultName `
-Name "le-cert-$KeyVaultNameSuffix" `
-FilePath ($PaCertificate.PfxFullChain) `
-Password ($CertificatePassword)
Set-AzureKeyVaultSecret `
-VaultName $VaultName `
-Name "le-cert-password-$KeyVaultNameSuffix" `
-SecretValue $CertificatePassword
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment