Skip to content

Bug: When no CA chosen and selecting Google Trust Services no options appear. DNS configuration appears in HTTP-01 #226

@balkk1

Description

@balkk1

Describe the bug
When within CertMate, so far testing on latest docker pull as of 20th May with a fresh instance.

Image

There isn't any options for settings customisation. But when going back to DNS the block appears for Google.

Image

Seems like the drop down box within the CA tab is matching the same within the DNS configuration which causes mismatch.

The lookup within settings.js does a map with google with google-config

Recommended Remediation:
Rename the CA Provider's HTML wrapper element block to something unique, like id="google-ca-config".
Update the lookup dictionary map inside static/js/settings.js to target the updated ID name.

Additional Bug:
When HTTP-01 is chosen with no CA or settings configured at all DNS configurations gets carried over and no options appear.

Image

To Reproduce
Steps to reproduce the behavior:

  1. Fresh instance with local account created.
  2. Skip Lets encrypt email setup
  3. Click on CA tab
  4. Choose Google Trust Services
  5. You should see no options
  6. See error
  7. the Display stays stuck on "display:none;"
Image

Bug 2:

  1. Fresh instance with local account created.
  2. Skip Lets encrypt email setup
  3. Choose any DNS provider
  4. Don't setup configuration and click on HTTP-01

Expected behavior
I should be able to see the the form to fill information additionally style should dynamically update.

Image

Bug 2:
Should be able to see setup for HTTP-01 or options and not see the DNS configuration

Screenshots
See above

Desktop (please complete the following information):

  • OS: macOS
  • Browser: Chrome
  • Version 148.0.7778.168

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions