Skip to content
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

New Feature Request: Retrieving Let's Encrypt Domain Validation DNS TXT Name and Value using Terminus #2378

Open
folsomke opened this issue Jul 25, 2022 · 2 comments

Comments

@folsomke
Copy link

Platform

( ) MacOS
(x) Linux
( ) Winderz

Installed Via

( ) Homebrew
( ) Apt Package
(x) Manually

PHP Version

(x) 7.4x
( ) 8.0
( ) 8.1

Command Executed

None - New feature request

Expected behavior

None - New feature request

Actual behavior

None - New feature request

Hello,

I am provisioning new Pantheon sites using Terminus. Part of the provisioning is using the 'terminus domain:dns' comand to retrieve a site environment's DNS information and entering that into our institution's DNS system. I'd also like to be able to retrieve the site environment's Let's Encrypt domain validation DNS TXT name and value, so I can enter that into our DNS system, as well. This information is available from the Pantheon Dashboard via a URL of the form

https://dashboard.pantheon.io/sites/{site_id}#{env}/DomainsHTTPS/ownership/{custom_hostname}

I'd be glad to write a plug-in for this, once an appropriate Terminus API endpoint is available to pull the information.

Thanks,
Keith

@greg-1-anderson
Copy link
Member

greg-1-anderson commented Jul 25, 2022

We have https://github.com/pantheon-systems/terminus-acme-plugin; however, there seem to be some issues with this plugin. It also looks like it was inadvertently marked "deprecated"; it should be fixed instead.

To install:

terminus plugin:add terminus-acme-plugin:^2.0.0-alpha1

It didn't work well when I tried it, but there is a starting point.

@folsomke
Copy link
Author

Thanks for pointing out this plugin. I was able to try it out and retrieve the DNS TXT information for an unverified site, using Terminus 3.0.7. This is what I was looking for. I haven't been able to check out if the verify functionality works but will when I have an unverified site available with DNS configured.

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

No branches or pull requests

2 participants