OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • [SOLVED] Letsencrypt new certificate dropdown list Validation Method empty
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] Letsencrypt new certificate dropdown list Validation Method empty  (Read 5536 times)

mvdheuvel

  • Newbie
  • *
  • Posts: 11
  • Karma: 0
    • View Profile
[SOLVED] Letsencrypt new certificate dropdown list Validation Method empty
« on: May 04, 2018, 09:29:39 am »
I upgraded to version 18.1.7 and I tried to create a new certificate with the letsencrypt plugin.
The 'Validation Method' dropdown menu is empty, while I have configured an Validation Method.

Is this a GUI glitch, because with the previous versions I had no problem with this.

« Last Edit: May 05, 2018, 11:15:49 am by franco »
Logged

Kofl

  • Newbie
  • *
  • Posts: 27
  • Karma: 5
    • View Profile
Re: Letsencrypt new certificate dropdown list Validation Method empty
« Reply #1 on: May 04, 2018, 11:33:44 am »
Just for info, did a fresh installation yesterday with the current version and there it worked flawless.
Logged

mvdheuvel

  • Newbie
  • *
  • Posts: 11
  • Karma: 0
    • View Profile
Re: Letsencrypt new certificate dropdown list Validation Method empty
« Reply #2 on: May 04, 2018, 11:49:02 am »
I did a console upgrade
Logged

Kali

  • Newbie
  • *
  • Posts: 4
  • Karma: 1
    • View Profile
Re: Letsencrypt new certificate dropdown list Validation Method empty
« Reply #3 on: May 04, 2018, 12:33:53 pm »
i have similar issue with haproxy

https://github.com/opnsense/core/issues/2389
Logged

Joe2105

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: Letsencrypt new certificate dropdown list Validation Method empty
« Reply #4 on: May 04, 2018, 12:51:54 pm »
for me exactly the same. Did a fresh install with 18.1 and upgraded directly to 18.1.7. Reinstalling the package was without sucess
Logged

sensorback

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: Letsencrypt new certificate dropdown list Validation Method empty
« Reply #5 on: May 04, 2018, 01:22:49 pm »
I also can confirm the issue: I did a fresh 18.1.6 install yesterday and upgraded to 18.1.7, after that installed the Let's Encrypt plugin and couldn't select a Validation Method.

If you are familiar with a browsers developer tools, you can workaround it like this until there is a fix available:
  • Open the Validation Method list
  • Inspect the edit button of the validation method entry with the dev tools. The button tag has an attribute data-row-id, 36 alphanumeric characters with dashes. That's the ID, copy it.
  • Create a new certificate, in the form inspect the Validation Method dropdown with the dev tools. The dropdown text or button will be selected in the inspector, but somewhere next to it there is the <select id="certificate.validationMethod" ...> tag.
  • Edit the <select> tag, and insert an option tag like this: <option value="PASTE_YOUR_ID_HERE" selected="selected"></option>. The value attribute of the option tag needs to be the 36 character ID you copied just before from the validation methods list. and be sure to include the selected="selected" attribute in the <option> tag, else it won't be sent with the form as nothing would be selected.
  • Complete the rest of the form and save it.

Worked for me. As there is no "Validation Method" column, and the options are also not displayed in the edit form, you can't verify in the GUI if it was really set. But my certificate was issued. You could also download a OPNSense configuration backup, as it's just an XML you can open it in a text editor and search for <validationMethod>, there you see the 36 character long ID.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13695
  • Karma: 1177
    • View Profile
Re: Letsencrypt new certificate dropdown list Validation Method empty
« Reply #6 on: May 04, 2018, 02:26:55 pm »
You can move the package back to 18.1.6 for now:

# opnsense-revert -r 18.1.6 opnsense

It's likely something related to https://github.com/opnsense/core/commit/e4d5daf9 but at the moment that does not unpatch cleanly so I cannot confirm.


Cheers,
Franco
Logged

mvdheuvel

  • Newbie
  • *
  • Posts: 11
  • Karma: 0
    • View Profile
Re: Letsencrypt new certificate dropdown list Validation Method empty
« Reply #7 on: May 04, 2018, 03:09:37 pm »
Thank you Franco for the fast response.

With 18.1.6 everything is working fine again.

Cheers,
Menno
Logged

Webxorcist

  • Newbie
  • *
  • Posts: 28
  • Karma: 2
    • View Profile
Re: Letsencrypt new certificate dropdown list Validation Method empty
« Reply #8 on: May 04, 2018, 04:10:53 pm »
Thanks for saving my weekend Franco :)
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13695
  • Karma: 1177
    • View Profile
Re: Letsencrypt new certificate dropdown list Validation Method empty
« Reply #9 on: May 04, 2018, 04:30:18 pm »
Not yet done. :)

Here's a fix for 18.1.7: https://github.com/opnsense/core/commit/8b5949e

To install via...

# opnsense-patch 8b5949e

If we can get a few OKs we'll hotfix within an hour after confirmation.


Thanks,
Franco
Logged

mvdheuvel

  • Newbie
  • *
  • Posts: 11
  • Karma: 0
    • View Profile
Re: Letsencrypt new certificate dropdown list Validation Method empty
« Reply #10 on: May 04, 2018, 04:45:18 pm »
Hi Franco,

I upgraded again to 18.1.7 and the problem came back.
After applying patch 8b5949e everything is working fine for me.

Thanks,

Menno
Logged

mvdheuvel

  • Newbie
  • *
  • Posts: 11
  • Karma: 0
    • View Profile
Re: Letsencrypt new certificate dropdown list Validation Method empty
« Reply #11 on: May 04, 2018, 04:47:59 pm »
Forgot something  :-[

It's a OK for me  :)
Logged

loredo

  • Newbie
  • *
  • Posts: 38
  • Karma: 2
    • View Profile
Re: Letsencrypt new certificate dropdown list Validation Method empty
« Reply #12 on: May 04, 2018, 04:49:14 pm »
Fix for this particular issue works here.
Logged

Joe2105

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: Letsencrypt new certificate dropdown list Validation Method empty
« Reply #13 on: May 04, 2018, 06:46:21 pm »
I can as well confirm that the fix is working
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13695
  • Karma: 1177
    • View Profile
Re: Letsencrypt new certificate dropdown list Validation Method empty
« Reply #14 on: May 05, 2018, 11:15:41 am »
Thanks for the quick reports, all better now with 18.1.7_1.


Cheers,
Franco
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • [SOLVED] Letsencrypt new certificate dropdown list Validation Method empty
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2