Ssl on different ip address

Let's get to the REAL problem though...

What is the output of the following command on the server for subdomain B (with any domain names substituted as you need to):

sudo apachectl -S

VirtualHost configuration:
*:80 subdomainB.maindomain.tld (/etc/httpd/conf/httpd.conf:84)
*:443 is a NameVirtualHost
default server subdomainB.maindomain.tld (/etc/httpd/conf.d/ssl.conf:40)
port 443 namevhost subdomainB.maindomain.tld (/etc/httpd/conf.d/ssl.conf:40)
port 443 namevhost subdomainB.maindomain.tld (/etc/httpd/conf/httpd-le-ssl.conf:2)
wild alias *.subdomainB.maindomain.tld
ServerRoot: "/etc/httpd"
Main DocumentRoot: "/var/www/html"
Main ErrorLog: "/etc/httpd/logs/error_log"
Mutex rewrite-map: using_defaults
Mutex ssl-stapling-refresh: using_defaults
Mutex authdigest-client: using_defaults
Mutex lua-ivm-shm: using_defaults
Mutex ssl-stapling: using_defaults
Mutex proxy: using_defaults
Mutex authn-socache: using_defaults
Mutex ssl-cache: using_defaults
Mutex default: dir="/etc/httpd/run/" mechanism=default
Mutex cache-socache: using_defaults
Mutex authdigest-opaque: using_defaults
Mutex watchdog-callback: using_defaults
Mutex proxy-balancer-shm: using_defaults
PidFile: "/etc/httpd/run/"
User: name="apache" id=48
Group: name="apache" id=48

1 Like

When I check my subdomain on the plesk account by our web provider, it says not encrypted, that's why I am uploading my certificate there from my onprem web server. I already removed it and keep on testing

1 Like

Just an update. I got this error now NET::ERR_CERT_AUTHORITY_INVALID

I followed this NET::ERR_CERT_AUTHORITY_INVALID error on my website and [Solved] Why isn't my certificate trusted? but still doesnt work

1 Like

Final Update!!

Got it working. I don't know why and how. After I followed the links posted above, I input the certbot --apache command and restart the apache service.

Thank you so much for entertaining my inquiries. I'm new to this kind of stuff and I really appreciate your help.

1 Like

Glad you got it working. :slightly_smiling_face:

Next would be the reverse proxy. I'll need to research more. Thank you

1 Like

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