Thank you for your patient and well informed support, MikeMcQ!
It looks like I'm really stuck now.
I tried this and that, and now my installation seems completely messed up...
If you use a tool like this: SSL Checker
What does it show for the SANs names in General Info section? Are these two domains combined?
For a.x, it now shows:
139888418518336:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../ssl/record/ssl3_record.c:331:
CONNECTED(00000003)no peer certificate available
No client certificate CA names sent
SSL handshake has read 5 bytes and written 310 bytes
Verification: OKNew, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
Early data was not sent
Verify return code: 0 (ok)
trying to access the sites via Firefox results in:
SSL_ERROR_RX_RECORD_TOO_LONG
I wonder whether it would be wise to uninstall Apache, delete all in /etc/apache2 and /etc/letsencrypt and start all over again, installing apache, the virtual hosts and then registering the certificates again? Would that be possible at all?
And how could I avoid this trap:
"...Certbot's default method of adding a domain name to a previously configured cert."?