Skip to content

Add DNS Provider TimeWeb Cloud #3531

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

Merged
merged 2 commits into from
Feb 27, 2024
Merged

Add DNS Provider TimeWeb Cloud #3531

merged 2 commits into from
Feb 27, 2024

Conversation

hywax
Copy link
Contributor

@hywax hywax commented Feb 7, 2024

@nginxproxymanagerci
Copy link

Docker Image for build 2 is available on DockerHub as jc21/nginx-proxy-manager:github-pr-3531

Note: ensure you backup your NPM instance before testing this PR image! Especially if this PR contains database changes.

@hywax
Copy link
Contributor Author

hywax commented Feb 8, 2024

✅ It's works!

[2/8/2024] [1:52:51 PM] [Global   ] › ⬤  debug     CMD: /usr/sbin/nginx -t -g "error_log off;"
[2/8/2024] [1:52:51 PM] [Nginx    ] › ℹ  info      Reloading Nginx
[2/8/2024] [1:52:51 PM] [Global   ] › ⬤  debug     CMD: /usr/sbin/nginx -s reload
[2/8/2024] [1:52:51 PM] [Certbot  ] › ▶  start     Installing timeweb...
[2/8/2024] [1:52:51 PM] [Global   ] › ⬤  debug     CMD: . /opt/certbot/bin/activate && pip install --no-cache-dir  certbot-dns-timeweb~=1.0.1  && deactivate
[2/8/2024] [1:52:56 PM] [Certbot  ] › ☒  complete  Installed timeweb
[2/8/2024] [1:52:56 PM] [SSL      ] › ℹ  info      Requesting Let'sEncrypt certificates via Timeweb Cloud for Cert #13: *.local.site.com, local.site.com
[2/8/2024] [1:52:56 PM] [SSL      ] › ℹ  info      Command: mkdir -p /etc/letsencrypt/credentials 2> /dev/null; echo 'dns_timeweb_api_key = *************' > '/etc/letsencrypt/credentials/credentials-13' && chmod 600 '/etc/letsencrypt/credentials/credentials-13' && && certbot certonly --config "/etc/letsencrypt.ini" --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-13" --agree-tos --email "[email protected]" --domains "*.local.site.com,local.site.com" --authenticator dns-timeweb --dns-timeweb-credentials "/etc/letsencrypt/credentials/credentials-13" --dns-timeweb-propagation-seconds 10
[2/8/2024] [1:52:56 PM] [Global   ] › ⬤  debug     CMD: mkdir -p /etc/letsencrypt/credentials 2> /dev/null; echo 'dns_timeweb_api_key = *************' > '/etc/letsencrypt/credentials/credentials-13' && chmod 600 '/etc/letsencrypt/credentials/credentials-13'
[2/8/2024] [1:52:56 PM] [Global   ] › ⬤  debug     CMD: certbot certonly --config "/etc/letsencrypt.ini" --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-13" --agree-tos --email "[email protected]" --domains "*.local.site.com,local.site.com" --authenticator dns-timeweb --dns-timeweb-credentials "/etc/letsencrypt/credentials/credentials-13" --dns-timeweb-propagation-seconds 10
[2/8/2024] [1:53:17 PM] [SSL      ] › ℹ  info      Requesting a certificate for *.local.site.com and local.site.com
Waiting 10 seconds for DNS changes to propagate
Successfully received certificate.
Certificate is saved at: /etc/letsencrypt/live/npm-13/fullchain.pem
Key is saved at:         /etc/letsencrypt/live/npm-13/privkey.pem
This certificate expires on 2024-05-08.
These files will be updated when the certificate renews.
NEXT STEPS:
- The certificate will need to be renewed before it expires. Certbot can automatically renew the certificate in the background, but you may need to take steps to enable that functionality. See https://certbot.org/renewal-setup for instructions.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
If you like Certbot, please consider supporting our work by:
 * Donating to ISRG / Let's Encrypt:   https://letsencrypt.org/donate
 * Donating to EFF:                    https://eff.org/donate-le
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[2/8/2024] [1:53:17 PM] [Global   ] › ⬤  debug     CMD: /usr/sbin/nginx -t -g "error_log off;"
[2/8/2024] [1:53:17 PM] [Nginx    ] › ℹ  info      Reloading Nginx
[2/8/2024] [1:53:17 PM] [Global   ] › ⬤  debug     CMD: /usr/sbin/nginx -s reload
[2/8/2024] [1:53:17 PM] [Global   ] › ⬤  debug     CMD: openssl x509 -in /etc/letsencrypt/live/npm-13/fullchain.pem -subject -noout
[2/8/2024] [1:53:17 PM] [Global   ] › ⬤  debug     CMD: openssl x509 -in /etc/letsencrypt/live/npm-13/fullchain.pem -issuer -noout
[2/8/2024] [1:53:17 PM] [Global   ] › ⬤  debug     CMD: openssl x509 -in /etc/letsencrypt/live/npm-13/fullchain.pem -dates -noout
[2/8/2024] [1:53:17 PM] [Global   ] › ⬤  debug     CMD: /usr/sbin/nginx -t -g "error_log off;"
[2/8/2024] [1:53:17 PM] [Nginx    ] › ⬤  debug     Deleting file: /data/nginx/proxy_host/1.conf
[2/8/2024] [1:53:17 PM] [Global   ] › ⬤  debug     CMD: /usr/sbin/nginx -t -g "error_log off;"
[2/8/2024] [1:53:17 PM] [Global   ] › ⬤  debug     CMD: /usr/sbin/nginx -t -g "error_log off;"
[2/8/2024] [1:53:18 PM] [Nginx    ] › ℹ  info      Reloading Nginx
[2/8/2024] [1:53:18 PM] [Global   ] › ⬤  debug     CMD: /usr/sbin/nginx -s reload

Copy link

@HarryVasanth HarryVasanth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Working as intended on the PR image:
jc21/nginx-proxy-manager:github-pr-3531

@hywax
Copy link
Contributor Author

hywax commented Feb 23, 2024

@jc21 please review & merge. I'd like to start using.

@jc21 jc21 merged commit 0dcd648 into NginxProxyManager:develop Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants