Created
March 31, 2019 09:57
-
-
Save samilamti/5e91469d4ab75ea3da73a03d2b92eab4 to your computer and use it in GitHub Desktop.
Creating and renewing your website certificates from Let's Encrypt, snippet 7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$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