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
#Deal with the challenge for each SAN | |
$i=0 | |
foreach ($subDomain in $domains) { | |
$i++ | |
$alias = 'dns' + $i | |
New-ACMEIdentifier -Dns $subDomain -Alias $alias | |
$completedChallenge = Complete-ACMEChallenge $alias -ChallengeType dns-01 -Handler manual | |
$dnsRRName = ($completedChallenge.Challenges | Where-Object {$_.Type -eq "dns-01"}).Challenge.RecordName | |
$dnsRRName = $dnsRRName.TrimEnd(".example.com") | |
$dnsRRValue = ($completedChallenge.Challenges | Where-Object {$_.Type -eq "dns-01"}).Challenge.RecordValue |
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
#!/bin/bash | |
##################################################################### | |
# | |
# A macOS software bootstrap script updated for a Big Sur | |
# install (08/2021). | |
# | |
# I have a seperate script that setups zsh and installs programming | |
# language toolchains that you would run after this if you are in | |
# software development game. |
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
#!/bin/bash | |
##################################################################### | |
# | |
# A macOS dev env setup script updated for a Big Sur | |
# install (08/2021). There isn't anything macos specific in here | |
# though, i just haven't tested it elsewhere. | |
# | |
# I have a seperate script that setups a fresh macOS install with | |
# a useful set of software applicatiions that you might want to run |