Hi again!
I run a fresh RL) on a new ,still not running server (mail & web server), called “server.hartings.se”. I have installed certbot and it installed very nicely a certificate from LetsEncrypt for my domain “hartings.se”:
[root@server ~]# certbot certificates
Saving debug log to /var/log/letsencrypt/letsencrypt.log
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Found the following certs:
Certificate Name: hartings.se
Serial Number: 49d2631d66b5055a8bc69d59c3cd44c5895
Key Type: RSA
Domains: hartings.se www.hartings.se
Expiry Date: 2023-01-12 10:14:10+00:00 (VALID: 89 days)
Certificate Path: /etc/letsencrypt/live/hartings.se/fullchain.pem
Private Key Path: /etc/letsencrypt/live/hartings.se/privkey.pem
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[root@server ~]#
But when I do a test as running server, with the server acting as domain hartings.se, my browser shows for https://hartings.se, that the site is not secure: and t shows the certificate is for “server.hartings.se” it shows nothing else, see picture below. When my (old) server (server1.hartings.se) acts as main domain server, it shows in the browser that the certificate is from LetsEncrypt and all other details - as it is expected. all is OK!
But this is shown on the (new) server (server.hartings.se):
What is wrong here? Can anyone point me to where I should start looking?
Thanks!