OPNsense Forum

Archive => 18.1 Legacy Series => Topic started by: mvdheuvel on May 04, 2018, 09:29:39 am

Title: [SOLVED] Letsencrypt new certificate dropdown list Validation Method empty
Post by: mvdheuvel 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.

Title: Re: Letsencrypt new certificate dropdown list Validation Method empty
Post by: Kofl 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.
Title: Re: Letsencrypt new certificate dropdown list Validation Method empty
Post by: mvdheuvel on May 04, 2018, 11:49:02 am
I did a console upgrade
Title: Re: Letsencrypt new certificate dropdown list Validation Method empty
Post by: Kali on May 04, 2018, 12:33:53 pm
i have similar issue with haproxy

https://github.com/opnsense/core/issues/2389
Title: Re: Letsencrypt new certificate dropdown list Validation Method empty
Post by: Joe2105 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
Title: Re: Letsencrypt new certificate dropdown list Validation Method empty
Post by: sensorback 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:

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.
Title: Re: Letsencrypt new certificate dropdown list Validation Method empty
Post by: franco 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
Title: Re: Letsencrypt new certificate dropdown list Validation Method empty
Post by: mvdheuvel 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
Title: Re: Letsencrypt new certificate dropdown list Validation Method empty
Post by: Webxorcist on May 04, 2018, 04:10:53 pm
Thanks for saving my weekend Franco :)
Title: Re: Letsencrypt new certificate dropdown list Validation Method empty
Post by: franco 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
Title: Re: Letsencrypt new certificate dropdown list Validation Method empty
Post by: mvdheuvel 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
Title: Re: Letsencrypt new certificate dropdown list Validation Method empty
Post by: mvdheuvel on May 04, 2018, 04:47:59 pm
Forgot something  :-[

It's a OK for me  :)
Title: Re: Letsencrypt new certificate dropdown list Validation Method empty
Post by: loredo on May 04, 2018, 04:49:14 pm
Fix for this particular issue works here.
Title: Re: Letsencrypt new certificate dropdown list Validation Method empty
Post by: Joe2105 on May 04, 2018, 06:46:21 pm
I can as well confirm that the fix is working
Title: Re: Letsencrypt new certificate dropdown list Validation Method empty
Post by: franco on May 05, 2018, 11:15:41 am
Thanks for the quick reports, all better now with 18.1.7_1.


Cheers,
Franco