This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[Request] Lets encrypt Certificate manager Module.
#6
RE: [Request] Lets encrypt Certificate manager Module.
This has actually been updated elsewhere to use the newer HTTP AUTH which is much more simple. You nolonger need to start/stop apache to add domains.
Code:
create certificates:

   sudo certbot certonly --webroot -w /var/sentora/hostdata/[client]/public_html/domain_com -d domain.com -d www.domain.com

update certificates after running the above with no errors:

   sudo certbot renew

revoke a certificate:

    sudo certbot revoke --cert-path /etc/letsencrypt/archive/domain.com/cert1.pem
    
    it will ask if you want to delete the related certificates, select Y and hit enter.
Unfortunately certificates still need to be created manually. I made a module to work with the older method of certbot, but they changed something and it no longer works. I need to update it to use this newer method. The difficult problem is getting the daemon (more specifically the module's OnDaemonRun.hook.php) to execute the above command line actions. The module is basically done, it just needs a fresh set of eyes to find the error and add the revoke coding.
https://github.com/TGates71/sencrypt

If it can be made to run command line functions, the code can be stripped down to about 1/4 of what it is now.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:


Messages In This Thread
RE: [Request] Lets encrypt Certificate manager Module. - by TGates - 09-14-2018, 07:39 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
https without certificate redirects to panel iraqiboy90 10 22 ,751 02-28-2021, 11:20 AM
Last Post: iraqiboy90
How To Add Letsencrypt SSL certificate To Domain Centos 7 franselect 1 4 ,765 07-04-2020, 02:55 AM
Last Post: Feilding Weather
DNS Manager - Unable to find requested module! obrempong7 0 2 ,840 11-18-2019, 07:59 AM
Last Post: obrempong7

Forum Jump:


Users browsing this thread: 1 Guest(s)