New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Centminmod + Letsencrypt setup
I just installed centminmod for testing for a wordpress site and it's working great. It was optimized for speed and it's fast. Page speed is fast and caching works great. I even load tested it, and it performed well.
Now, I am trying to setup the letsencrypt ssl certificate on the site and I cannot find clear instructions.
I initially installed the domain without ssl, but reading through their forum is confusing.
Has anyone successfully added letsencrypt to centminmod?
If you did, can you share how you did it?
Thanked by 1eva2000
Comments
i use centos web panel so it have auto installer for letsencrypt and for setting up letsencrypt exactly correct you need to read forums of centos web panel.
Edit your /etc/centminmod/custom_config.inc file and add the following line.
LETSENCRYPT_DETETC='y'
Then save and run the WordPress script again, tell it no to generating a self-signed cert and then it well ask if you want to generate a LE cert
I don't have a /etc/centminmod/custom_config.inc file.
I'll research why that is.
Some times you dont, just create it if you dont
Did you try https://centminmod.com/letsencrypt-freessl.html ? They is still in beta testing
You want add SSL letsencrypt to your domain ?
Nginx ?
just approved your account on Centmin Mod community forums but for folks interested for Centmin Mod 123.09beta01 has letsencrypt integration support optionally available during beta testing
details
as well as official page guides for it at:
you'd want the 2nd guide then https://centminmod.com/migrating-to-https.html
missing a T from https://centminmod.com/acmetool
/etc/centminmod/custom_config.inc is a persistent config file you create yourself which can override centmin.sh menu options without you loosing your customisations on updates as outlined at https://centminmod.com/upgrade.html as well allow you to control enabling/disabling nginx dynamic module support i.e. FAQ item 39
Once LETSENCRYPT_DETECT='y' is set, centmin.sh menu option 2, 22 and nv command based nginx vhost creation will detect addons/letencrypt.sh and automatically prompt you during nginx vhost creation if you want letsencrypt ssl certificate. Example for nv command line nginx vhost creation with letsencrypt ssl cert testing during recent letsencrypt downtime.
I installed the stable branch, so I don't have access to the acme tools.
Can I change to the beta branch?
@eva2000
might want to ask on official forums as I frequent it more often than here - forum for it would be https://community.centminmod.com/forums/install-upgrades-or-pre-install-questions.8/
1st post at https://community.centminmod.com/threads/centmin-mod-09-beta-branch-testing.4128/ outlines how to switch branches via centmin.sh menu option 23
>
and submenu
Then hit submenu option 4 to go back to main menu on centmin.sh and then hit centmin.sh menu option 24 to exit. Then you need to change into the directory again for /usr/local/src/centminmod as it's a new directory under 123.09beta01 code
cd /usr/local/src/centminmod
Then you can do continuous updates for 123.09beta01 branch. As you have git environment setup, updating is as easy as using centmin.sh menu option 23 submenu option 2.
or git command method and auto cronjob updates outlined at https://community.centminmod.com/threads/cronjob-auto-updating-centmin-mod-code-guide.3398/
personally i just use git command line method with cronjob auto updating setup to update every 8hrs
when 123.09beta01 goes stable 123.09stable, the same method for updating via centmin.sh menu option 23 submenu option 3 will be used. 123.09beta01 is only beta as waiting on me to write up all the updated documentation, guides, faq for official centminmod.com site as that info is only on the official forums right now (hence good place for centmin mod users to be )
and if you are unsure of where to call centmin.sh from see https://centminmod.com/menu.html
I had seen the talk of a beta feature for it but also couldn't, for the life of me, figure out how to install/setup/enable said feature the last time I checked (about a month or two ago I guess). So just a +1 to the idea that you're not crazy.
Anyone new to using centminmod who hadn't extensively read things that seem to be in no one particular place would be equally as confused. Which, I suppose, is okay given it hasn't been a standard feature of the script yet. It just adds extra confusion when there's constant references to it all over the site and no clear and up front path to figure out how to enable what is referenced.
So useful thread. I'm the type to give up searching/reading after about 10 minutes
Yeah 123.09beta01 has alot of new and improved features with info all on the forums right now - it's only reason it's still beta as you can imagine it takes alot of work to update documentation, guides and faqs for official site given the list of features in change log https://centminmod.com/changelog.html. I want to update centminmod.com site with all the written info relevant to 123.09beta01 before going stable. Eventually, you will be able to find the info on official centminmod.com once done
Guide to learning about Centmin Mod at https://community.centminmod.com/threads/guide-to-learning-more-about-centmin-mod.10838/. Of course it requires reading ^_^
@sysamy
example for switching from 123.08stable to 123.09beta01 branch via centmin.sh menu option 23 submenu option 3
Not to thread cap but the centmin mod forum is the best and the easiest way to not only
learn but become astute in the aspects of the software. In order to make the software accessible to a wide range of setups @Eva2000 has some "non-traditional" ways of setting up a server up but honestly if you wanted traditional no doubt you would not get the supreme performance that you can accomplish with centmin mod.
In fact if you read diligently there are easter eggs that will make it go even faster than the initial setup. Most of the traditional software has already been introduced in some aspect if just takes a quick search to see how to install it by looking at the forum. You have a software that needs nodejs, search the forum and you will be able to see how to install it. Most setups are painless and for a newb it is a fascinating and refreshing experience to learn and become adept at linux system administration.
I have yet to find a faster and easier solution that @Eva2000 has presented here with this software. Through the help of the Lord I am positive, that it not only takes incredible "smarts" but a "genius mind" to come up with a complete solution such as this. I thank the Lord for him. God bless you!
thanks @ljseals for kind words
Centmin Mod Insights forum is one such place for those easter eggs https://community.centminmod.com/forums/centmin-mod-insights.20/
i.e.
Unfortunately, anything worth while learning requires time reading up on
There does come a point where too much time spent learning something that was designed to save time ends up not saving any time. At least it feels like something that was designed to save people time and effort. Just my 2c. Obviously love the script and thank you for contributing to the community
Indeed understand your point.. that's how I feel about inhouse @domain.com email setups versus just saving time with 3rd party @domain.com providers To each his own ^_^