Certbot

Hi!
Im confused. My 15.3 was running a ok (dont mind that my domain shows):

opensusemail:/etc/apache2/vhosts.d # apachectl -S
VirtualHost configuration:
*:80 is a NameVirtualHost
default server cloud.jodo.nu (/etc/apache2/vhosts.d/cloud.jodo.nu.conf:26)
port 80 namevhost cloud.jodo.nu (/etc/apache2/vhosts.d/cloud.jodo.nu.conf:26)
alias www.cloud.jodo.nu
port 80 namevhost jodo.nu (/etc/apache2/vhosts.d/jodo.nu.conf:25)
alias www.jodo.nu
*:443 is a NameVirtualHost
default server cloud.jodo.nu (/etc/apache2/vhosts.d/cloud.jodo.nu.conf:41)
port 443 namevhost cloud.jodo.nu (/etc/apache2/vhosts.d/cloud.jodo.nu.conf:41)
alias www.cloud.jodo.nu
port 443 namevhost jodo.nu (/etc/apache2/vhosts.d/jodo.nu.conf:40)
alias www.jodo.nu
ServerRoot: “/srv/www”
Main DocumentRoot: “/srv/www/htdocs”
Main ErrorLog: “/var/log/apache2/error_log”
Mutex ssl-stapling: using_defaults
Mutex ssl-cache: using_defaults
Mutex default: dir=“/run/” mechanism=default
Mutex mpm-accept: using_defaults
Mutex rewrite-map: using_defaults [QUOTE][QUOTE]
[/QUOTE]
Mutex ssl-stapling-refresh: using_defaults
PidFile: “/var/run/httpd.pid”
Define: SYSCONFIG
Define: SSL
Define: DUMP_VHOSTS
Define: DUMP_RUN_CFG
User: name=“wwwrun” id=30
Group: name=“www” id=8

[/QUOTE]

Same thing on 15.4 vm on the same server. Spent a week and snap. snapd. Yast2 and external repos… No what I ever and search on the net… Not working.

draug:/etc/apache2/vhosts.d # apachectl -S
AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/default-server.conf:122
VirtualHost configuration:
ServerRoot: “/srv/www”
Main DocumentRoot: “/srv/www/htdocs”
Main ErrorLog: “/var/log/apache2/error_log”
Mutex default: dir=“/run/” mechanism=default
Mutex mpm-accept: using_defaults
Mutex ssl-stapling-refresh: using_defaults
Mutex ssl-stapling: using_defaults
Mutex ssl-cache: using_defaults
PidFile: “/run/httpd.pid”
Define: SYSCONFIG
Define: SSL
Define: DUMP_VHOSTS
Define: DUMP_RUN_CFG
User: name=“wwwrun” id=492
Group: name=“www” id=480

Any ideas?
Regards

Please use CODE tags (the button with the #), not QUOTE tags around copied/pasted computer texts. You are long enough here to know?

NameVirtualHost is a old apache 2.2 directive. Yo may have a look to these links:
https://www.davekb.com/browse_computer_tips:apache_namevirtualhost_has_no_effect:txt
https://httpd.apache.org/docs/2.4/en/vhosts/name-based.html

:shame: Hi!
Very embarrassing, I had forgot to turn on rewrite module in HTTP Server Configuration. I received a lot of different error messages and there was plan A… B… new error messages. I learned some(a lot) about certbot/letsencrypt and Apache during the trip.

Anyway, I’m pleased that I started a new(15.4) VM with this functions. I still have some problems but I will take that in a new tread.
Thanks for replays.
Regards