win-acme_dns_one.com
Author: Morten Hansen
Repository: https://github.com/morhans/win-acme_dns_one.com
I have switched DNS provider and can no longer garentee this script is working, as one.com can change their website.
Not that versed in powershell scripts. So, any ideas and better ways of doing things is welcome.
This is a dns api for use with wacs that uses Let's Encrypt for issuing certificates. It enables you to automatically update one.com dns-records for your domains hosted on their dns servers.
Please ensure you got the ciphers needed to access one.com webpage. Ciphers should default from Windows Server 2016 and above but only tested with Windows Server 2019 and 2022.
For this to work, download and install wacs and copy the onedotcom.ps1 file into the sub directory Scripts.
Before using it with wacs you have to register username and password.
This is done with running the script with the user wacs is to run with. If not, it will not be possible for wacs to read out the credentials, due to credentials is encrypted to that user.
Run script with option setcred
onedotcom.ps1 setcred
Fill in your correct one.com username and password as asked by the script.
onedotcom.ps1 takes the default parameters asked by wacs. That is:
create {Identifier} {RecordName} {Token}
and
delete {Identifier} {RecordName} {Token}
wacs default wait timer for DNS replication may not be sufficient consider increasing these. Example in settings.json file:
"PreValidateDnsRetryCount": 5,
"PreValidateDnsRetryInterval": 150,
Please see win-acme website found at https://www.win-acme.com