Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
I don't understand what's happening here. What do you do when you "browse page", and how does it "find old one"? How is haproxy on your OPNsense box related to what you're seeing when you "browse page"?
you can check by yourself http://yourtop.news because I am confused here.
How it is related to opensense. on opensense it is letsencrypt installed and all certificates for differend web pages on differend servers. There is only one external IP for multiple sites.
Yes as I said certificate expired but in opensense it is renewed and valid.
this is on server where web page is.
VirtualHost configuration:
*:80 is a NameVirtualHost
default server phpmyadmin.yourtop.news (/etc/httpd/conf.d/phpMyAdmin.conf:7)
port 80 namevhost phpmyadmin.yourtop.news (/etc/httpd/conf.d/phpMyAdmin.conf:7)
port 80 namevhost mail.yourtop.news (/etc/httpd/conf.d/roundcubemail.conf:11)
alias roundcube.yourtop.news
port 80 namevhost yourtop.news (/etc/httpd/conf.d/yourtopnews.conf:1)
alias www.yourtop.news
yes apache server only port 80. below is apache config.
port 80 is redirected in haproxy to port 443 and it should take certificate from letsecnryprt in opensense.
<VirtualHost *:80>
DocumentRoot /var/www/html/yourtop/
ServerName yourtop.news
ServerAlias www.yourtop.news
ServerPath /var/www/html/yourtop
Alias /yourtopnews "/var/www/html/yourtop"
ErrorLog "logs/yourtop.news.error_log"
CustomLog "logs/yourtop.news.access_log" combined
<Directory "/var/www/html/yourtop">
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
What it sounds like OP is describing is that HAProxy is running on his OPNsense box. It's handling TLS termination for (apparently) more than one website and acting as a reverse proxy to those sites.
yes and that worked until certificate expired, now I am stuck and don't know what can be wrong? haproxy? Acme? or something in firewall or port forward?
Have you checked your haproxy config for the cert location or file name?
I understand haproxy terminates the SSL connection so would need a cert for that. I saw this blog post on haproxy site. Perhaps its config is using your older cert?