Safari certificate viewer listing mcretro.net beneath ISRG Root X1 and R3, with fishtankworld.mcretro.net open behind it.

After reordering Certbotโ€™s domain arguments, Safari displayed mcretro.net as the certificate name. Purely cosmetic, but satisfying.

Honestly, I didnโ€™t realise this, but after rejiggering the domain order there was mcretro.net, displayed proudly in Safariโ€™s certificate viewer. That display is separate from Certbotโ€™s internal certificate name, which defaults to the first -d domain unless I specify --cert-name or reuse an existing certificate. All the requested domains are included as Subject Alternative Names. Putting my favourite first didnโ€™t give it any special TLS priority.

sudo certbot --apache --no-redirect -d mcretro.net -d files.mcretro.net -d fishtankworld.mcretro.net -d frank.mcretro.net -d geocities.mcretro.net -d nature.mcretro.net -d pepper.mcretro.net -d photos.mcretro.net -d scifi.mcretro.net -d sonic.mcretro.net -d space.mcretro.net -d www.mcretro.net

Purely cosmetic, but good to know. In the future Iโ€™ll probably end up getting Cloudflare more involved to help with caching. With proxying enabled, visitors would connect to Cloudflare and see its TLS certificate; Cloudflare would then connect to my server when it needed to fetch content. That server-side connection is a separate part of the setup. Whatever works I guess! ๐Ÿ™ƒ

Sources