-
Notifications
You must be signed in to change notification settings - Fork 647
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
security/acme-client: Add domains.google support #3429
Conversation
...me-client/src/opnsense/mvc/app/library/OPNsense/AcmeClient/LeValidation/DnsGoogleDomains.php
Show resolved
Hide resolved
security/acme-client/src/opnsense/mvc/app/models/OPNsense/AcmeClient/AcmeClient.xml
Outdated
Show resolved
Hide resolved
Exactly. I'll monitor acme.sh releases and will merge it as soon as possible. |
Adds support for Google Domains DNS-01 ACME challenge API added to latest upstream acme.sh. This is separate from the Google Cloud API. https://domains.google/learn/gts-acme/ See acmesh-official/acme.sh#4542
Hi team, found an issue with this commit. I applied it using "opnsense-patch -c plugins e10a960" Long story short, it appears that "security/acme-client/src/opnsense/mvc/app/library/OPNsense/AcmeClient/LeValidation/DnsGoogleDomains.php" There is a case-sensitivity issue in LeValidationFactory.php, lines 69-70:
returns as "DnsGoogledomains" after parsing. Simply renaming DnsGoogleDomains.php to DnsGoogledomains.php seems to work just fine. os-acme-client plugin 3.17 Hope this helps! Renaming the php logic solved my issue - works absolutely great now. |
@fraenki just checking if you happened to see the new acme.sh release? |
Just to show my I'm-not-a-programmer-and-don't-play-one-on-TV debugging ... I threw a couple error logging lines around the PascalCase code:
From the ACME Client logfile:
|
Given that all other files follow the same convention of being "DnsX$(lowercaseRest)", @loosecannon93 can you please update the PR? cc @fraenki @nmiller0113 |
@@ -0,0 +1,49 @@ | |||
<?php |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As already pointed out by others, this file needs to be renamed to DnsGoogledomains.php
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fraenki who would do that? I'm happy to help in whatever way I can :) Thanks!
I'll merge this when the requested change was implemented. acme.sh version 3.0.6 added support for Google Domains. |
@fraenki is there anything I can do to help move this along? I feel like we've been stuck. I'm happy to help, just not sure what to do. Thanks! |
Or are you waiting on @loosecannon93, @fraenki? |
I think that the issue is that github doesn't allow taking over a PR (AFAIK) so either we have to recreate the entire diff or wait for the owner. At this point I'm hesitant on waiting for the creator to do it, wdyt we should do @fraenki ? |
Not sure @xArthasx, only that this has sat dormant for weeks now, and not even @fraenki has commented. Maybe he's just not tracking this right now...who knows? All the pieces are there for this to be completed and for the challenge to be added for opnsense...not really sure what the hold up is. |
Added a new PR for this #3499 as owner is unresponsive cc @nmiller0113 |
Awesome, thanks! |
PR #3499 was merged |
Adds support for Google Domains DNS-01 ACME challenge API added to latest upstream acme.sh. This is separate from the Google Cloud API.
https://domains.google/learn/gts-acme/
See acmesh-official/acme.sh#4542
This should address #3408 but ultimately depends on acme.sh cutting a new release with the above pull request included, so I assume would not be able to be merged until then.