OPNsense Forum

Archive => 21.1 Legacy Series => Topic started by: oliver.greg@gmail.com on May 13, 2021, 12:06:02 AM

Title: Let's Encrypt Plugin - add CSR option
Post by: oliver.greg@gmail.com on May 13, 2021, 12:06:02 AM
Hi,

I ma very new to OpnSense (one month), but am really enjoying it.  I use the Let's Encrypt plugin extensively for getting certs for all of my stuff since the interface is excellent and centralized.  I run the bind plugin and it is great since I can generate certs for all my stuff easily.

I have the need to add CSRs to the certificate creation stuff and was wondering if someone could point me to where I can check out the code and add it.  I would of course create patches that could be added if the developers wanted to do so.  I am no web programmer for sure, but I am very unix friendly and see the acme stuff is all shell based anyhow (or python which I am fluent it).

I just cannot find where to check out the current code for the plugin.  If anyone could point me in the right directio, I'll gie it a whirl.

TiA,

Greg
Title: Re: Let's Encrypt Plugin - add CSR option
Post by: bober on May 17, 2021, 11:11:20 AM
Hi,

i am also interested in the possibility to add existing CSR to the ACME Plugin. The source of the plugin can be found on GitHub:
https://github.com/opnsense/plugins/tree/master/security/acme-client (https://github.com/opnsense/plugins/tree/master/security/acme-client)

acme.sh should already be able to handle this via --sign-csr option. The GUI does not yet have the ability to import the CSR.

I will keep an eye on this thread/topic, but i can't help on my own. The last time i wrote PHP code is at least 15 years ago.