Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save samilamti/6e79c2e71a6e3d681bc769baa5ce1277 to your computer and use it in GitHub Desktop.
Save samilamti/6e79c2e71a6e3d681bc769baa5ce1277 to your computer and use it in GitHub Desktop.
Creating and renewing your website certificates from Let's Encrypt, snippet 12
$CertificatePassword = ConvertTo-SecureString `
-String $PlainTextPfxPassword `
-AsPlainText `
-Force
$KeyVaultNameSuffix = $ItemFqdn.Replace('*', '0').Replace('.', '-')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment