RE: SMTP..POP..IMAP (Vulernablilty) Certificate Error
06-13-2017, 07:10 PM
(This post was last modified: 06-21-2017, 08:52 PM by M0HX.)
(06-13-2017, 01:46 AM)TGates Wrote: You could try moving:
Code:entry for any undefined domain or direct IP access
<VirtualHost *:443>
Redirect / http://domain.com/
</VirtualHost>
to your httpd-ssl-vhosts.conf right after the 'Listen 443' and restart apache.
I tried that.. It still doesn't work. The problem is not with redirection. I tried many things actually redirections with virtualhost and setting to different paths and domains .. nop nothing works.
(06-13-2017, 01:46 AM)TGates Wrote: Just my suggestion for Let's Encrypt SSLs (and for any others TBH):
For a much easier way that utilizes Sentora's internal functions instead of doing the .conf files manually is to use these let's encrypt tutorials:
Sentora login: http://docs.sentora.org/?node=102
Any other domains: http://docs.sentora.org/?node=103
Now, all of your regular vhost AND SSL vhost entries are in ONE file and stored in the DB as a 'backup'.
^ I tried those too.. actually it didn't make any difference at all. because i was making
<VirtualHost *:80> in the httpd-vhosts.conf (automatically from sentora settings)
and
<VirtualHost *:443> in httpd-ssl-vhosts.conf with the same certificates and stuff. Its much better imo.
It always says certificate error (invalid).
These are the current records i want to fix:
https://ftp.domain.com/
https://pop.domain.com/
https://imap.domain.com/
https://smtp.domain.com/
https://mail.domain.com/
Why isn't just as simple as not responding like (https://smtp.gmail.com).. or just blocking access for all these domains.. is there a way? In hosts file or something ? pls halp. thx