Skip to content

Commit

Permalink
Update DomainOffensive api root and doc links (#550)
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikalves authored May 28, 2024
1 parent 5df05b9 commit ee9a0d6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Posh-ACME/Plugins/DomainOffensive.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function Add-DnsTxt {
}

Write-Verbose "Adding $RecordName with value $TxtValue on Domain Offensive"
$uri = "https://www.do.de/api/letsencrypt?token=$DomOffTokenInsecure&domain=$RecordName&value=$TxtValue"
$uri = "https://my.do.de/api/letsencrypt?token=$DomOffTokenInsecure&domain=$RecordName&value=$TxtValue"
try {
$response = Invoke-RestMethod -Method Get -Uri $uri @script:UseBasic -EA Stop
} catch { throw }
Expand Down Expand Up @@ -61,7 +61,7 @@ function Add-DnsTxt {
Adds the specified TXT record with the specified value using a standard string token.
.LINK
https://www.do.de/wiki/LetsEncrypt_-_Entwickler
https://www.do.de/wiki/freie-ssl-tls-zertifikate-ueber-acme/
#>
}

Expand All @@ -86,7 +86,7 @@ function Remove-DnsTxt {
}

Write-Verbose "Removing $RecordName with value $TxtValue on Domain Offensive"
$uri = "https://www.do.de/api/letsencrypt?token=$DomOffTokenInsecure&domain=$RecordName&action=delete"
$uri = "https://my.do.de/api/letsencrypt?token=$DomOffTokenInsecure&domain=$RecordName&action=delete"
try {
$response = Invoke-RestMethod -Method Get -Uri $uri @script:UseBasic -EA Stop
} catch { throw }
Expand Down Expand Up @@ -123,7 +123,7 @@ function Remove-DnsTxt {
Removes the specified TXT record with the specified value using a standard string token.
.LINK
https://www.do.de/wiki/LetsEncrypt_-_Entwickler
https://www.do.de/wiki/freie-ssl-tls-zertifikate-ueber-acme/
#>
}

Expand Down
2 changes: 1 addition & 1 deletion docs/Plugins/DomainOffensive.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This plugin works against the [Domain Offensive](https://www.do.de/) DNS provide

## Setup

We need to retrieve an secret API token for the account that will be used to update DNS records. Further information can ba found at the (german) [developer docs](https://www.do.de/wiki/LetsEncrypt_-_Entwickler).
We need to retrieve an secret API token for the account that will be used to update DNS records. Further information can be found at the (german) [developer docs](https://www.do.de/wiki/freie-ssl-tls-zertifikate-ueber-acme/).

## Using the Plugin

Expand Down

0 comments on commit ee9a0d6

Please sign in to comment.