mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 09:25:55 +03:00
[GH-ISSUE #1185] Cannot use Google DNS Challenge for SSL #969
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#969
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kpd328 on GitHub (Jun 17, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1185
Checklist
jc21/nginx-proxy-manager:latestdocker image?Describe the bug
The Google Cloud DNS plugin does not seem to be working for certbot. When attempting a DNS Challenge with Google as the provider, it throws the following error:
It seems that certbot can't find the dns-google-credentials plugin where the
--dns-google-credentialsflag comes from, and I have made sure certbot is up to date (1.16.0) but when I try to upgrade dns-google-credentials to 1.16.0 (its currently at 1.8.0) it says it upgrades, but is still at version 1.8.0. I'm suspecting this is the problem, but I can't figure out how to make the update stick.Nginx Proxy Manager Version
v2.9.3
To Reproduce
Steps to reproduce the behavior:
Expected behavior
cerbot should attempt to acquire an SSL Cert for the supplied domains.
Operating System
OpenMediaVault 5 (Debian 10 Based)
Additional context
Using Portainer 2.1.1 and Docker 5:20.10.7
@chaptergy commented on GitHub (Jun 17, 2021):
I am not able to reproduce your issue. To make the google plugin update, you can edit the file
/app/global/certbot-dns-plugins.jsinside your container, search forgoogle:(which should be at around line 200) and changepackage_version: '1.8.0',topackage_version: '1.16.0',.However since I cannot produce this error on my installation with dns plugin version 1.8.0, I'm not sure this is the issue. But go ahead and change it, see if it fixes the issue.
You could execute
certbot pluginsto see if certbot recognizes the plugin.@chaptergy commented on GitHub (Jun 17, 2021):
Maybe similar issue as https://github.com/jc21/nginx-proxy-manager/issues/1109?
@kpd328 commented on GitHub (Jun 18, 2021):
Thanks for the advice, I updated the package and the problem persisted.
Looking at the output of
certbot pluginsthedns-googleplugin is listed, but when I tried to go through certbot just attached to the console with/opt/certbot/bin/certbot certonly --authenticator dns-googleit gives the error:and the log file reflected the same.
As I was writing this, I though to check using
/opt/certbot/bin/certbot pluginsinstead of using the command on path (as this is what the UI is reporting it's doing) and it doesn't see thedns-googleplugin. This reflects your comment about #1109, as runningcertbot certonly --authenticator dns-googlelet me get past the error and move on to attempt to get a cert (as it is using the version of certbot at/usr/local/bin/certbotrather than the one npm is trying to use.I was able to point npm's
certificate.jsto the correct version of certbot, and I was able to get the cert. If this change should be made universally (or changing the file to simply use whichever version of certbot is on path) I could make a PR for it, if not no worries, I was able to get myself fixed up. Thanks for pointing me in the right direction.