From 812840163d2d64907fe5e5fc68aa9a06b26fcddf Mon Sep 17 00:00:00 2001 From: Sergey Ponomarev Date: Tue, 6 Jun 2023 23:36:29 +0300 Subject: [PATCH] hexonet --- dnsapi2.md | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/dnsapi2.md b/dnsapi2.md index 799ca861..a7e45ff0 100644 --- a/dnsapi2.md +++ b/dnsapi2.md @@ -6,7 +6,7 @@ - [81. Use reg.ru API](#dns_regru) - [82. Use Vultr DNS API to automatically issue cert](#dns_vultr) - [83. Use jdcloud.com DNS API to automatically issue cert](#dns_jd) -- [84. Use hexonet.com DNS API to automatically issue a cert](#dns_hexonet) +- [84. Use hexonet.net DNS API to automatically issue a cert](#dns_hexonet) - [85. Use Domeneshop DNS API to automatically issue a cert](#dns_domeneshop) - [86. Use OPNsense embedded API to automatically issue cert](#dns_opnsense) - [87. Use the RcodeZero API to automatically issue cert](#dns_rcode0) @@ -323,12 +323,10 @@ export JD_REGION="cn-north-1" # 这里写你要改的区域 有 bug 的话可以报到这里: https://github.com/Neilpang/acme.sh/issues/2388 +## 84. Use hexonet.com DNS API to automatically issue a cert - - -## 84. Use hexonet.com DNS API to automatically issue a cert - -Create a role user in your Account -> Settings -> ShareAccess +Login to hexonet.net. +Create a role user in your [Account -> Settings -> ShareAccess](https://account.hexonet.net/#/role-accounts) Set the Access Control like bellow: ``` @@ -339,8 +337,8 @@ UpdateDNSZone():ALLOW Remember the role id and role password. ```sh -export Hexonet_Login='username!roleId' -export Hexonet_Password="role password" +export Hexonet_Login="username!roleId" +export Hexonet_Password="" ``` For example: @@ -353,14 +351,12 @@ export Hexonet_Login='neilpang!testid' To issue a cert: ```sh -./acme.sh --issue --dns dns_hexonet -d example.com -d www.example.com +./acme.sh --issue --dns dns_hexonet -d example.com -d *.example.com ``` The `Hexonet_Login` and `Hexonet_Password` will be saved in `~/.acme.sh/account.conf` and will be reused when needed. -If you find any bugs, please report here: -https://github.com/Neilpang/acme.sh/issues/2389 - +If you find any bugs, please report [here](https://github.com/Neilpang/acme.sh/issues/2389)