hexonet

master
Sergey Ponomarev 2023-06-06 23:36:29 +03:00
parent 2c924d0769
commit 812840163d
1 changed files with 8 additions and 12 deletions

@ -6,7 +6,7 @@
- [81. Use reg.ru API](#dns_regru) - [81. Use reg.ru API](#dns_regru)
- [82. Use Vultr DNS API to automatically issue cert](#dns_vultr) - [82. Use Vultr DNS API to automatically issue cert](#dns_vultr)
- [83. Use jdcloud.com DNS API to automatically issue cert](#dns_jd) - [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) - [85. Use Domeneshop DNS API to automatically issue a cert](#dns_domeneshop)
- [86. Use OPNsense embedded API to automatically issue cert](#dns_opnsense) - [86. Use OPNsense embedded API to automatically issue cert](#dns_opnsense)
- [87. Use the RcodeZero API to automatically issue cert](#dns_rcode0) - [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 有 bug 的话可以报到这里: https://github.com/Neilpang/acme.sh/issues/2388
## <a name="dns_hexonet"/> 84. Use hexonet.com DNS API to automatically issue a cert
<a name="dns_hexonet"/> Login to hexonet.net.
Create a role user in your [Account -> Settings -> ShareAccess](https://account.hexonet.net/#/role-accounts)
## 84. Use hexonet.com DNS API to automatically issue a cert
Create a role user in your Account -> Settings -> ShareAccess
Set the Access Control like bellow: Set the Access Control like bellow:
``` ```
@ -339,8 +337,8 @@ UpdateDNSZone():ALLOW
Remember the role id and role password. Remember the role id and role password.
```sh ```sh
export Hexonet_Login='username!roleId' export Hexonet_Login="username!roleId"
export Hexonet_Password="role password" export Hexonet_Password="<role password>"
``` ```
For example: For example:
@ -353,14 +351,12 @@ export Hexonet_Login='neilpang!testid'
To issue a cert: To issue a cert:
```sh ```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. 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: If you find any bugs, please report [here](https://github.com/Neilpang/acme.sh/issues/2389)
https://github.com/Neilpang/acme.sh/issues/2389
<a name="dns_domeneshop"/> <a name="dns_domeneshop"/>