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
[Solved] 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
●●●●●●●


Thanks given by:
#42
[Solved] 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 - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support or modules helpful? Donate HERE
Get your domains using my affiliate link:
GoDaddy - Domains
Thanks given by:
#43
[Solved] 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
●●●●●●●


Thanks given by:
#44
[Solved] 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 - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support or modules helpful? Donate HERE
Get your domains using my affiliate link:
GoDaddy - Domains
Thanks given by:
#45
[Solved] 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
[Solved] 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 - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support or modules helpful? Donate HERE
Get your domains using my affiliate link:
GoDaddy - Domains
Thanks given by: iraqiboy90


Possibly Related Threads...
Thread Author Replies Views Last Post
My temporary module repo TGates 0 283 09-11-2020, 08:58 AM
Last Post: TGates
[MODULE] xBilling modpluz 239 427 027 04-17-2020, 11:37 PM
Last Post: emmarudd222@gmail.com
[Module] Whois jollyjoke 3 5 241 02-03-2020, 02:04 AM
Last Post: jollyjoke

Forum Jump:


Users browsing this thread: 1 Guest(s)