valid letsencrypt secure page only port 10000

2 posts / 0 new
Last post
#1 Sun, 11/26/2017 - 23:25
whatever_admin

valid letsencrypt secure page only port 10000

Operating system CentOS Linux 7.4.1708 Webmin version 1.860 Virtualmin version 6.01

Hello,

I am having some issues regarding the use of letsencrypt. First I attempted to implement it via Webmin/Virtualmin which did not seem to work therefore I opted to install certbot on my ssh terminal. This appears to have obtained a valid certificate as it shows it is working when I run test commands but for some reason I can only get a secure page on port 10000. The usual ssl port of 443 shows an insecure page and leaves an option to manually accept an improper certificate.

Does anyone have any idea as to what setting I have done incorrectly to cause this issue? I have been attempting to fix this since yesterday with no luck.

Regards.

Mon, 11/27/2017 - 18:11
whatever_admin

I figured this out by editing the Apache default 443 configuration file ( /etc/httpd/conf.d/ssl.conf ) to have it use the various SSL config files that were created by certbot/letsencrypt. These appear to be overriding what was in my httpd conf file which may prove to be an issue as I plan to host another site using a different IP. When I attempted to comment out the file directives I got a httpd error (when resetting it) therefore I may to be forced to set them for the one domain. I suppose I can attempt to use directives to determine the IP and set the files based on that in that ssl.conf file rather than the standard httpd conf file since it seems to be overriding the latter.

Topic locked