Okey. Thanks.
Here is the info:
root@HeligeErikPC:/etc/ssl/certs# sudo apachectl -S
VirtualHost configuration:
*:80 is a NameVirtualHost
default server www.sthlmcity.eu (/etc/apache2/sites-enabled/000-default-le-ssl.conf:40)
port 80 namevhost www.sthlmcity.eu (/etc/apache2/sites-enabled/000-default-le-ssl.conf:40)
port 80 namevhost www.sthlmcity.eu (/etc/apache2/sites-enabled/000-default.conf:1)
*:443 is a NameVirtualHost
default server sthlmcity.eu (/etc/apache2/sites-enabled/000-default-le-ssl.conf:2)
port 443 namevhost sthlmcity.eu (/etc/apache2/sites-enabled/000-default-le-ssl.conf:2)
alias www.sthlmcity.eu
port 443 namevhost HeligeErikPC.eu (/etc/apache2/sites-enabled/000-default-ssl.conf:2)
port 443 namevhost HeligeErikPC.eu (/etc/apache2/sites-enabled/default-ssl.conf:2)
ServerRoot: "/etc/apache2"
Main DocumentRoot: "/var/www/html"
Main ErrorLog: "/var/log/apache2/error.log"
Mutex default: dir="/var/run/apache2/" mechanism=default
Mutex mpm-accept: using_defaults
Mutex watchdog-callback: using_defaults
Mutex ssl-stapling-refresh: using_defaults
Mutex ssl-stapling: using_defaults
Mutex ssl-cache: using_defaults
PidFile: "/var/run/apache2/apache2.pid"
Define: DUMP_VHOSTS
Define: DUMP_RUN_CFG
User: name="www-data" id=33
Group: name="www-data" id=33
And here is when I tried certbot again:
root@HeligeErikPC:/etc/ssl/certs# certbot --apache
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apacheWhich names would you like to activate HTTPS for?
1: sthlmcity.eu
2: www.sthlmcity.eu
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel): 1,2
You have an existing certificate that contains a portion of the domains you
requested (ref: /etc/letsencrypt/renewal/sthlmcity.eu.conf)It contains these names: sthlmcity.eu
You requested these names for the new certificate: sthlmcity.eu,
www.sthlmcity.eu.Do you want to expand and replace this existing certificate with the new
certificate?
(E)xpand/(C)ancel: E
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for www.sthlmcity.eu
Enabled Apache rewrite module
Waiting for verification...
Cleaning up challenges
Enabled Apache ssl module
Deploying Certificate to VirtualHost /etc/apache2/sites-enabled/000-default-le-ssl.conf
Created an SSL vhost at /etc/apache2/sites-available/000-default-le-ssl.conf
Deploying Certificate to VirtualHost /etc/apache2/sites-available/000-default-le-ssl.confPlease choose whether or not to redirect HTTP traffic to HTTPS, removing HTTP access.
1: No redirect - Make no further changes to the webserver configuration.
2: Redirect - Make all requests redirect to secure HTTPS access. Choose this for
new sites, or if you're confident your site works on HTTPS. You can undo this
change by editing your web server's configuration.
Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 2
Enabled Apache rewrite module
Failed redirect for sthlmcity.eu
Unable to set enhancement redirect for sthlmcity.eu
Unable to find corresponding HTTP vhost; Unable to create one as intended addresses conflict; Current configuration does not support automated redirectionIMPORTANT NOTES:
- We were unable to set up enhancement redirect for your server,
however, we successfully installed your certificate.- Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/sthlmcity.eu/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/sthlmcity.eu/privkey.pem
Your cert will expire on 2021-02-20. To obtain a new or tweaked
version of this certificate in the future, simply run certbot again
with the "certonly" option. To non-interactively renew all of
your certificates, run "certbot renew"