I am having a problem getting SSL configured to access my virtual host.
I have successfully moved two virtual hosts from an Oracle Virtualbox that hosted my WordPress websites. I am able to access both Virtual Hosts on the QNAP but one of them (eventually both) I want to configure to use SSL certificates.
I had the original secure site configured with certbot (Letsencrypt) and would like to continue using it if possible. I installed 0.6 certbot on the QNAP successfully but get an error trying to create an ssl certificate with the following command:
Code: Select all
certbot certonly -d securesite.com --agree-tos --config-dir "share/CACHEDEV1_DATA/letsencrypt" --webroot --webroot-path "/share/CACHEDEV1_DATA/Web/vervol"
(securesite.com is a replacement for the actual domain name)
It returns the following error as part of the letsencrypt.log:
"detail": "Error creating new registration",
Error: urn:acme:error:serverInternal :: The server experienced an internal error :: Error creating new registration
I then copied my existing certificates (privkey1.pem, chain1.pem and cert1.pem) that I created on the old platform onto the QNAP and edited apache.conf file to use them. After restarting the web service it removes my changes. I also tried editing httpd-ssl-vhosts-user.conf in the extra folder but it gets overwritten also. I don't mind making the changes manually but not sure where to make the edits without them being overwritten.
I have browsed and read many articles on this forum as well as numerous others and hope this is not a duplicate (apologies if it is ).
Any input is appreciated.
I have a TS-451A Version 4.3.3.0262