Back to Lego

RU CENTER

docs/content/dns/zz_gen_nicru.md

4.35.22.5 KB
Original Source
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. --> <!-- providers/dns/nicru/nicru.toml --> <!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->

Configuration for RU CENTER.

<!--more-->
  • Code: nicru
  • Since: v4.24.0

Here is an example bash command using the RU CENTER provider:

bash
NICRU_USER="<your_user>" \
NICRU_PASSWORD="<your_password>" \
NICRU_SERVICE_ID="<service_id>" \
NICRU_SECRET="<service_secret>" \
lego --dns nicru -d '*.example.com' -d example.com run

Credentials

Environment Variable NameDescription
NICRU_PASSWORDPassword for an account in RU CENTER
NICRU_SECRETSecret for application in DNS-hosting RU CENTER
NICRU_SERVICE_IDService ID for application in DNS-hosting RU CENTER
NICRU_SERVICE_NAMEService Name for DNS-hosting RU CENTER
NICRU_USERAgreement for an account in RU CENTER

The environment variable names can be suffixed by _FILE to reference a file instead of a value. More information [here]({{% ref "dns#configuration-and-credentials" %}}).

Additional Configuration

Environment Variable NameDescription
NICRU_POLLING_INTERVALTime between DNS propagation check in seconds (Default: 60)
NICRU_PROPAGATION_TIMEOUTMaximum waiting time for DNS propagation in seconds (Default: 600)
NICRU_TTLThe TTL of the TXT record used for the DNS challenge in seconds (Default: 30)

The environment variable names can be suffixed by _FILE to reference a file instead of a value. More information [here]({{% ref "dns#configuration-and-credentials" %}}).

Credential information

You can find information about service ID and secret https://www.nic.ru/manager/oauth.cgi?step=oauth.app_list

ENV VariableParameter from pageExample
NICRU_USERUsername (Number of agreement)NNNNNNN/NIC-D
NICRU_PASSWORDPassword account
NICRU_SERVICE_IDApplication IDhex-based, len 32
NICRU_SECRETIdentity endpointstring len 91

More information

<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. --> <!-- providers/dns/nicru/nicru.toml --> <!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->