SSL Setup on Apache v3.26.8 webserver

My operating system is (include version): CentOS 6.8

My web server is (include version): Apache v3.26.8

I can login to a root shell on my machine

I can use Cpanel to manage my site. But i’d rather do it through SSH.

I found letsencrypt, and it seems like the best choice.
I’m reading/watching conflicting information about how the setup should be carried out.
i’m seeing setups with. Run What certbot site is suggesting and then it’s up and running.
But i’m also seeing information that suggest editting the httpd.conf file is needed, by adding the lines

ssl_certificate /path/to/Generated/Fullchain.pem
ssl_cerficate_key /path/to/generated/privKey.pem

To the VirtualHost IP:443 Entry (create one if needed)

And to redirect VirtualHost IP:80
Redirect permanent /

I’m kinda in a delicate position, and i do not want to ruin the webserver configuration.


To be honest, if you’re using cpanel, and have root access, I’d just use the AutoSSL feature within cpanel to perform the Letsencrypt certs. See

The conflicting information you are seeing is probably for slightly different setups. The challenge here is that cpanel creates the /etc/httpd/httpd.conf file - so any changes you make there will be overwitten by cpanel.

You can modify things yourself - but read the info at the top of the /etc/httpd/httpd.conf file first to see how to.

Thanks for that information.
The WHM version i’m running is actually 56.0 which doesn’t have AutoSSL.
Do you know if any features or implementation will be reverted if an update to 58.0.30 is run?

I’m not aware of any features you will lose by upgrading, no. You can always double check with cpanel technical support for your exact situation though.

Thanks a lot serverco.
I’ve created a ticket at technical support.
Thanks for enlighening me about Cpanels new feature!

Apache v3? :rolling_eyes: The development branch is 2.5?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.