shihjay2 / nosh-in-a-box

NOSH in a Box is a self-contained virtual machine that deploys NOSH ChartingSystem, an EHR coded by a physician for physicians
26 stars 13 forks source link

Unable to install certificate. #2

Closed rumsant closed 7 years ago

rumsant commented 7 years ago

I believe this is a nosh-in-a-box related issue.

I've done a completely new install of nosh-in-a-box to ensure that everything is set up correctly with static IPs and all that stuff that has been giving me trouble.

I've entered my domain during the initial installation and it proceeds to communicate with letsencrypt to install the certificate.

Twice I've done this and ended up with the same error. After a successful communication and key generation I am told "Unable to install the certificate". There is an error message about "Unsupported filesystem layout. sites-available/enabled expected."

Screenshot attached for full terminal error. letsencrypt

rumsant commented 7 years ago

I deleted the /etc/letsencrypt directory that was created and proceeded to use "install-ssl" and that worked, but I had to stop apache2 first.

shihjay2 commented 7 years ago

Fixed in commit 00570a98e03f9d825dc61b0758207cd3da41babe