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.

[MODULE][WIP] Sencrypt Let's Encrypt SSL Module
#41
RE: [MODULE][WIP] Sencrypt Let's Encrypt SSL Module
isn't this the class that handles the command lines, with here an example?

the cpuraminfo module just uses:
Code:
$mem = shell_exec("cat /proc/meminfo");

the zgodx module just uses:
Code:
exec("/etc/zpanel/bin/zsudo service postfix stop", $output);

My Sentora DemoMy GithubAuxio Github
Zentora themeS-Type themeCstyleX theme
flat-color-iconssmall-n-flat-icons

Sentora's development takes way too long, so i'm transitioning to HestiaCP.
Thanks given by:
#42
RE: [MODULE][WIP] Sencrypt Let's Encrypt SSL Module
(11-23-2018, 12:33 AM)Ron-e Wrote: isn't this the class that handles the command lines, with here an example?

the cpuraminfo module just uses:
Code:
$mem = shell_exec("cat /proc/meminfo");

the zgodx module just uses:
Code:
exec("/etc/zpanel/bin/zsudo service postfix stop", $output);

You are correct, but for some reason I can never get it to work. Basically it needs to run something like:
Code:
sudo certbot certonly --webroot -w /var/sentora/hostdata/[client]/public_html/domain_com -d domain.com -d www.domain.com
Which I believe would be something like:
Code:
exec("/etc/sentora/bin/zsudo certbot certonly --webroot -w $hostdata_dir/$client/public_html/$domain_folder -d $domain -d www.$domain.com", $output);
Maybe I forgot the zsudo..? hmmm...

Maybe I'll find some time this weekend to test it out again.
-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
Thanks given by:
#43
RE: [MODULE][WIP] Sencrypt Let's Encrypt SSL Module
any luck with it?
Found this on github, don't know if it works..

My Sentora DemoMy GithubAuxio Github
Zentora themeS-Type themeCstyleX theme
flat-color-iconssmall-n-flat-icons

Sentora's development takes way too long, so i'm transitioning to HestiaCP.
Thanks given by:
#44
RE: [MODULE][WIP] Sencrypt Let's Encrypt SSL Module
(01-30-2019, 03:38 AM)Ron-e Wrote: any luck with it?
Found this on github, don't know if it works..

Not sure, but it looks pretty much like a re-write of my original work. Knowing Diablo925, it just might work. I do notice a typo that needs fixing in controller.ext.php line 101: path name wrong (may also be elsewhere too)
-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
Thanks given by:
#45
RE: [MODULE][WIP] Sencrypt Let's Encrypt SSL Module
(08-26-2017, 04:44 AM)TGates Wrote: Hey gang! I'm getting much closer to completing this module!

Working:
Create SSL for a selected domain or sub domain
Adds Custom vhost SSL entries for the domain or sub domain
Adds Port Forward from apache default port to SSL (443) for domain or sub domain
Removes everything if deleted (vhost entries, all files/folders related to the domain's or sub domain's certificate data)

Not Working (yet):

www. prefix
Need to add certificate revocation to the delete process.

Current code pushed to GitHub for testing only!


WARNING: PRE-ALPHA: DO NOT USE ON A PRODUCTION SERVER! Use for testing purposes ONLY!
Any requests for support will be ignored unless you are actively helping to develop this module with me!

Stay tuned for more information!

Support this module by buying me a beer or two! Tongue Donation link below in my signature Wink
Thanks given by:
#46
RE: [MODULE][WIP] Sencrypt Let's Encrypt SSL Module
Module scrapped after Let's Encrypt reworked some of it's coding and broke the module. Sentora v2.0 will have SSL built in.
-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
Thanks given by: iraqiboy90


Possibly Related Threads…
Thread Author Replies Views Last Post
[Request] BoxBilling api module. cyber1995 4 13 ,289 10-23-2021, 05:29 AM
Last Post: sparkrack
Module Repo Beta Chris L 3 7 ,170 08-13-2021, 02:32 AM
Last Post: Chris L
Cloud module repo spoonman 0 2 ,527 02-28-2021, 01:34 AM
Last Post: spoonman

Forum Jump:


Users browsing this thread: 1 Guest(s)