REST request
Send verification files to the server by issuing an http(s) request
Plugin type | HTTP validation | |
---|---|---|
Download | Version v2.3.3. Look for older releases on GitHub for files named like plugin.validation.http.rest.v2.x.x.zip | |
Chocolatey | choco install simple-acme-validation-http-rest(details) |
|
Compatibility | All platforms |
Description
Publish the challenge answer using a REST API. You will need a third party or custom server component for this validation method to work. The reference implementation can be found here.
Plugins needs to be unpacked into a folder called %programdata%\simple-acme\plugins
. Depending on how you downloaded the file, you may have to unblock the .dll
files before your computer will trust them. You can do that from the File Explorer by using the right mouse button and then checking the `Unblock` box on the General tab.
To verify that the plugin is properly installed you can start the main executable
with ‑‑verbose
and it will print information about found and loaded plugins at
start up. When the plugin is loaded, it manifests itself as extra menu choices and
command line parameters being made availalbe.
All releases published to third party package managers like Chocolatey and NuGet support plugins, but if you download simple-acme manually, you must choose a pluggable
version instead of the trimmed
one to use it.
Command line
--validation rest |
Activates the plugin | |
---|---|---|
‑‑rest-securitytoken |
The bearer token needed to authenticate with the REST API on the server for PUT / DELETE requests.
You may pass the secret in plain text, but can also use a reference to the secret vault like |
|
‑‑rest-usehttps |
If HTTPS should be used instead of HTTP. Must be true if the server has HTTP to HTTPS redirection configured, as the redirected request always uses the GET method. |
Examples
Typical | --validation rest ‑‑rest-securitytoken ***** [‑‑rest-usehttps] |
---|
JSON
ID | 11ba2994-ea59-4f2f-b9eb-0eaa2fa3cbfa |
---|
Looking for win-acme?
simple-acme is a backwards compatible, drop-in replacement built by the same person. Project history.