https://github.com/rmbolger/Posh-ACME/edit/main/README.md
The latest release can found in the PowerShell Gallery or the GitHub releases page. Installing is easiest from the gallery using Install-Module
. See Installing PowerShellGet if you run into problems with it.
# install for all users (requires elevated privs)
Install-Module -Name Posh-ACME -Scope AllUsers
# install for current user
Install-Module -Name Posh-ACME -Scope CurrentUser
NOTE: On Windows, you may need to set a less restrictive PowerShell execution policy before you can import the module.
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Force
Import-Module Posh-ACME
New-PACertificate *.example.com,example.com -AcceptTOS -Contact [email protected]
will appear like that
Please remove the following TXT records:
------------------------------------------
_acme-challenge.example.com -> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
_acme-challenge.example.com -> yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
Press any key to continue.:
add on you dans records on you dns before press Enter
type:TXT
name: _acme-challenge
value:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
type:TXT
name: _acme-challenge
value:yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
then press enter
$certs = Get-PACertificate
$certs | fl
start (get-paaccount).folder