Nginx and LetsEncrypt cert

Started by ccesario, January 08, 2019, 04:54:29 PM

Previous topic - Next topic
Hi folks, is it possible usage letsencrypt plugin with nginx ?
If yes, Is there any documentation !?

Regards
Carlos

Hello Carlos!

We are using here!

We need just create the Cert in the acme plugin and in HTTP Server section enable Let's Encrypt option and select the created certificate.
Cloudfence Open Source Team

Hey Julio,

Thanks by your info.....
But im facing problems to generate certificate by LetsEncrypt plugin... DO you have any doc about create it!?

Best regards

Carlos

January 09, 2019, 01:03:02 PM #3 Last Edit: January 09, 2019, 04:01:53 PM by juliocbc
Unfortunatelly not yet. Which step do you're facing problems?
Cloudfence Open Source Team

When I enable LetsEncrypt Plugin, I lost access from my OPNSense box by WEBGUI.

Is it possible you reproduce the steps to create the certificate ?

Regards
Carlos

Sure!

LE: Accounts
1-Create a LE account
2-Fill the with your info

LE: Validation methods
3-Create a validation method (we're using HTTP)

LE: Certificates
4-Create a certificate
5-Fill with your info (choose the account and validation method created before)
6-Click in the reload button and have a cup o coffee...
6.1- Check the logs,  if everything worked fine, you should see a message: _on_issue_success

6.2 - Sometimes the certificate status have a little delay to change to OK. But if you found the success message in logs, wait a little more, the status will become OK. (you should refresh the page)

Attached the screenshots for steps 3 - 6.

Hope it works!




Cloudfence Open Source Team

Hi Julio, thanks by your howto.

I got success, but my problem it was that nginx it was running too in port 80, so the Letsencrypt Challenge service it was geting error due usage this port.
After change the nginx port  to 8081, the letsEncrypt it works.

Thank you

Carlos

Glad to know that you succeeded!!

Cheers!
Cloudfence Open Source Team