Let’s Encrypt: certbot error “No vhost exists with servername or alias of”

A WordPress site without SSL is basically begging to be compromised. I used Let’s Encrypt to add an SSL certificate to the Apache web server configuration osric.com, but I found that the process was not as simple as advertised. I’ve included the steps I took to get it working, in case it should prove helpful to anyone else.