Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save samilamti/5e91469d4ab75ea3da73a03d2b92eab4 to your computer and use it in GitHub Desktop.
Save samilamti/5e91469d4ab75ea3da73a03d2b92eab4 to your computer and use it in GitHub Desktop.
Creating and renewing your website certificates from Let's Encrypt, snippet 7
$DnsRecords = $Authorizations | ForEach-Object -Process {
$KeyAuth = Get-KeyAuthorization -Token $_.DNS01Token
$TxtValue = ConvertTo-TxtValue -KeyAuthorization $KeyAuth
New-AzureRmDnsRecordConfig -Value $TxtValue
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment