-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add DNS provider for RU Center #1892
base: master
Are you sure you want to change the base?
Conversation
Hello, in order for a PR adding a DNS provider to be accepted, you have to:
make test
make test
make generate-dns
rm -rf .lego
./lego -m [email protected] --dns YOUR_PROVIDER_NAME -d *.example.com -d example.com -s https://acme-staging-v02.api.letsencrypt.org/directory run Note the wildcard domain is important.
make checks
|
5a203b9
to
4f9e9d4
Compare
Your PR was far away from the design of the other implementations, so I rewrite it and add tests on the client. You can check my previous comment to know what are the next requirements. |
ping @AntonDzyk |
@AntonDzyk can you provide the missing information? |
19e63c8
to
1070f0d
Compare
ping @AntonDzyk |
I'm still waiting for feedback @AntonDzyk. If a user wants to help this PR by testing it, you are welcome to do so. How to test this PR?
|
b848556
to
a0828b0
Compare
Please explain what are:
|
I don't know how to find the values to set because I'm not the author of this PR, but I think this is explained here: https://github.com/go-acme/lego/pull/1892/files#diff-033dbf5a6431a24266bee1b693b19c924755b239fe9109cc22a9e56732540874R17-R27 |
Should i edit nicru.toml to test? |
no, this file is documentation, you should read it.
NICRU_USER="NNNNNNN/NIC-D" \
NICRU_PASSWORD="xxx" \
NICRU_SERVICE_ID="yyy" \
NICRU_SECRET="zzz" \
NICRU_SERVICE_NAME="DPNNNNNNNNNN" \
./dist/lego --dns nicru --domains "*.example.com" -d *.example.com -d example.com -s https://acme-staging-v02.api.letsencrypt.org/directory run |
Error:
|
I added logs can you try again? |
I think same result:
|
By the way i think "NICRU_SERVICE_NAME" is deprecated or something, cannot find it anywhere |
have you pulled the branch before trying? |
I don't think so, because it's inside the API doc: https://www.nic.ru/help/upload/file/API_DNS-hosting.pdf |
Did reset and pull and repeated command |
I added another log, this log will always be displayed. |
repeated procedure |
do you have a new log: |
Have you re-compiled lego? |
|
So I think your service name ( |
I added an extra call, only for debugging purposes, to display all your services. |
Set NICRU_SERVICE_NAME value the same as NICRU_USER value ./dist/lego --email "[email protected]" --dns nicru --domains "gptev.ru" -s https://acme-staging-v02.api.letsencrypt.org/directory run |
https://nic.ru/