SSL cert setup for Wiki on OS X Server

I figured out the root directory for the Wiki. I was going about that the completely wrong way. I was able to run the command referenced with the proper directory and it created a .pem file. However, I’ve lost the site I was referencing for how to generate and install the LetsEncrypt certificate.

A simple Google search lead me to this tutorial, but I’ve run into a new issue. After generating the two files and attempting the first, test run of get_cert.sh, terminal gives the error “Permission denied”. I don’t understand this as everything has been done under the admin user for the Mac Server. Any insight would be appreciated.

OR, if anyone can direct me on what to do with the .pem file LetsEncrypt generated, that would also be helpful.